VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / DeviceCapabilityCollection Class / Item Property
The zero-based index of the element to get.




In This Topic
    Item Property (DeviceCapabilityCollection)
    In This Topic
    Gets the capability at the specified index.
    Syntax
    'Declaration
     
    Public Default Property Item( _
       ByVal index As Integer _
    ) As DeviceCapability
    'Usage
     
    Dim instance As DeviceCapabilityCollection
    Dim index As Integer
    Dim value As DeviceCapability
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    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 indexDeviceCapability^ value);
    }

    Parameters

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

    Property 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: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also