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

    See Also