VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / DeviceCollection Class / Item Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    Item Property (DeviceCollection)
    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 Device
    public Device this[
    int index
    ]{ get; }
    public: __property Device* get_Item(
    int index
    );
    public:
    property Device^ default [int] { Device^ 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 8, .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also