VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Sane Namespace / SaneLocalDeviceCollection Class / Item Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    Item Property (SaneLocalDeviceCollection)
    In This Topic
    Gets the device at the specified index.
    Syntax
    'Declaration
    
    Public ReadOnly Default Property Item( _
    ByVal index
    The zero-based index of the device to get.
    As Integer _
    ) As SaneLocalDevice
    public SaneLocalDevice this[
    int index
    ]{ get; }
    public: __property SaneLocalDevice* get_Item(
    int index
    );
    public:
    property SaneLocalDevice^ default [int] { SaneLocalDevice^ get(int index); }

    Parameters

    index
    The zero-based index of the device to get.

    Return Value

    The device at the specified index.
    Exceptions
    ExceptionDescription
    index is less than zero or index is equal to or greater than System.Collections.ReadOnlyCollectionBase.Count.
    Requirements

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

    See Also