VintaSoft Twain .NET SDK v10.2
Find Method (DeviceCollection)




Vintasoft.WpfTwain Namespace > DeviceCollection Class : Find Method
Name of the device to find.
Finds the device by device's name.
Syntax
'Declaration
 
Public Function Find( _
   ByVal deviceName As String _
) As Device
'Usage
 
Dim instance As DeviceCollection
Dim deviceName As String
Dim value As Device
 
value = instance.Find(deviceName)
public Device Find( 
   string deviceName
)
public: Device* Find( 
   string* deviceName
) 
public:
Device^ Find( 
   String^ deviceName
) 

Parameters

deviceName
Name of the device to find.

Return Value

The device with specified name.
Exceptions
ExceptionDescription
Thrown if TWAIN device manager is not found or not initialized.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

DeviceCollection Class
DeviceCollection Members