VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / DeviceCollection Class / GetDevice(Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
GetDevice(Int32) Method (DeviceCollection)
In This Topic
Returns the device at the specified index.
Syntax
'Declaration

Public Function GetDevice( _
ByVal index
The zero-based index of the device.
As Integer _
) As Device
public Device GetDevice(
int index
)

Parameters

index
The zero-based index of the device.

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