VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.WinTwain Namespace / DeviceCollection Class / Find(String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    Find(String) Method (DeviceCollection)
    In This Topic
    Finds the device by device's name.
    Syntax
    'Declaration
    
    Public Function Find( _
    ByVal deviceName
    Name of the device to find.
    As String _
    ) As Device
    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: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also