VintaSoft Twain .NET SDK 15.3: Руководство для .NET разработчика
Vintasoft.WpfTwain Namespace / DeviceCollection Class / GetDevice(Int32) Method
Синтаксис Exceptions Требования Смотрите также
В этом разделе
    GetDevice(Int32) Метод (DeviceCollection)
    В этом разделе
    Returns the device at the specified index.
    Синтаксис
    'Declaration
    
    Public Function GetDevice( _
    ByVal index
    The zero-based index of the device.
    As Integer _
    ) As Device
    public Device GetDevice(
    int index
    )
    public: Device* GetDevice(
    int index
    )
    public:
    Device^ GetDevice(
    int index
    )

    Parameters

    index
    The zero-based index of the device.

    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

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