VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.WinTwain Namespace / KodakDeviceProfileCollection Class / IndexOf Methods / IndexOf(String) Method
Syntax Requirements SeeAlso
In This Topic
    IndexOf(String) Method (KodakDeviceProfileCollection)
    In This Topic
    Returns the index of the KodakDeviceProfile with specified name.
    Syntax
    'Declaration
    
    Public Overloads Function IndexOf( _
    ByVal profileName
    The profile name.
    As String _
    ) As Integer
    public int IndexOf(
    string profileName
    )
    public: int IndexOf(
    string* profileName
    )
    public:
    int IndexOf(
    string^ profileName
    )

    Parameters

    profileName
    The profile name.

    Return Value

    The zero-based index of the table, or -1 if the KodakDeviceProfile object is not found in the collection.
    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