VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Sane Namespace / SaneLocalDeviceOptionCollection Class / IndexOf(String) Method
Syntax Requirements SeeAlso
In This Topic
    IndexOf(String) Method (SaneLocalDeviceOptionCollection)
    In This Topic
    Finds the index of option in this collection by the option name.
    Syntax
    'Declaration
    
    Public Function IndexOf( _
    ByVal name
    An option name.
    As String _
    ) As Integer
    public int IndexOf(
    string name
    )
    public: int IndexOf(
    string* name
    )
    public:
    int IndexOf(
    string^ name
    )

    Parameters

    name
    An option name.

    Return Value

    Index of option in this collection if option is found; otherwise, -1.
    Requirements

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

    See Also