VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain Namespace / DeviceCapability Class / GetCurrentValue Method




In This Topic
    GetCurrentValue Method (DeviceCapability)
    In This Topic
    Return current value of capability.
    Syntax
    'Declaration
     
    Public Function GetCurrentValue() As TwainValueContainerBase
    'Usage
     
    Dim instance As DeviceCapability
    Dim value As TwainValueContainerBase
     
    value = instance.GetCurrentValue()
    public TwainValueContainerBase GetCurrentValue()
    public: TwainValueContainerBase* GetCurrentValue(); 
    public:
    TwainValueContainerBase^ GetCurrentValue(); 

    Return Value

    Current value of capability.
    Exceptions
    ExceptionDescription
    Thrown if device is in wrong state.
    Thrown if error occurs during getting the capability value.
    Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also