VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceCapabilityCollection Class / Item Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    Item Property (DeviceCapabilityCollection)
    In This Topic
    Gets the capability at the specified index.
    Syntax
    'Declaration
    
    Public Default Property Item( _
    ByVal index
    The zero-based index of the element to get.
    As Integer _
    ) As DeviceCapability
    public DeviceCapability this[
    int index
    ]{ get; set; }
    public: __property DeviceCapability* get_Item(
    int index
    ); public: __property void set_Item(
    int index,
    DeviceCapability* value
    );
    public:
    property DeviceCapability^ default [int] { DeviceCapability^ get(int index); void set(int index, DeviceCapability^ value); }

    Parameters

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

    Return Value

    The capability 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