VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.WpfTwain Namespace / DeviceCollection Class / Item Property
Синтаксис Exceptions Требования Смотрите также
В этом разделе
    Item Свойство (DeviceCollection)
    В этом разделе
    Gets the device at the specified index.
    Синтаксис
    '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.
    Исключения
    ИсключениеОписание
    index is less than zero or index is equal to or greater than System.Collections.ReadOnlyCollectionBase.Count.
    Требования

    Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также