VistaDB 5






VistaDB.Provider Namespace > VistaDBDataReader Class > GetFieldValueAsync Method : GetFieldValueAsync<T>(Int32,CancellationToken) Method
GetFieldValueAsync<T>(Int32,CancellationToken) Method
Syntax
'Declaration
 
Public Overloads Function GetFieldValueAsync(Of T)( _
   ByVal ordinal As System.Integer, _
   ByVal cancellationToken As System.Threading.CancellationToken _
) As System.Threading.Tasks.Task(Of T)
'Usage
 
Dim instance As VistaDBDataReader
Dim ordinal As System.Integer
Dim cancellationToken As System.Threading.CancellationToken
Dim value As System.Threading.Tasks.Task(Of T)
 
value = instance.GetFieldValueAsync(Of T)(ordinal, cancellationToken)
public System.Threading.Tasks.Task<T> GetFieldValueAsync<T>( 
   System.int ordinal,
   System.Threading.CancellationToken cancellationToken
)
public function GetFieldValueAsync( 
    ordinal: System.Integer;
    cancellationToken: System.Threading.CancellationToken
): System.Threading.Tasks.Task; 
public function GetFieldValueAsync( 
   ordinal : System.int,
   cancellationToken : System.Threading.CancellationToken
) : System.Threading.Tasks.Task;
public: System.Threading.Tasks.Task<T*>* GetFieldValueAsync<T>( 
   System.int ordinal,
   System.Threading.CancellationToken cancellationToken
) 
public:
System.Threading.Tasks.Task<T^>^ GetFieldValueAsyncgeneric<typename T>
( 
   System.int ordinal,
   System.Threading.CancellationToken cancellationToken
) 

Parameters

ordinal
cancellationToken

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also