VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Sane Namespace / SaneLocalDeviceCollection Class / FindByName(String) Method
Syntax Requirements SeeAlso
In This Topic
    FindByName(String) Method (SaneLocalDeviceCollection)
    In This Topic
    Finds the first device with specified name.
    Syntax
    'Declaration
    
    Public Function FindByName( _
    ByVal deviceName
    Name of the device to find.
    As String _
    ) As SaneLocalDevice
    public SaneLocalDevice FindByName(
    string deviceName
    )
    public: SaneLocalDevice* FindByName(
    string* deviceName
    )
    public:
    SaneLocalDevice^ FindByName(
    string^ deviceName
    )

    Parameters

    deviceName
    Name of the device to find.

    Return Value

    SaneLocalDevice if device is found; otherwise, null.
    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6

    See Also