VintaSoft Twain .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Twain Namespace / Device Class / GetSupportedTransferModes() Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    GetSupportedTransferModes() Method (Device)
    In This Topic
    Returns an array of transfer modes supported by device.
    Syntax
    'Declaration
    
    Public Function GetSupportedTransferModes() As TransferMode[]
    
    
    public TransferMode[] GetSupportedTransferModes()
    
    
    public: TransferMode[] GetSupportedTransferModes()
    
    
    public:
    TransferMode[] GetSupportedTransferModes()

    Return Value

    An array of transfer modes supported by device.
    Exceptions
    ExceptionDescription
    Thrown if device is in wrong state.
    Thrown if device does not support capability.
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Remarks

    Call this method only when device is opened (State == DeviceState.Opened).

    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