As Method
Definition
As<TResult>(DataTransferColumn)
Gets the value of a DataTransferColumn from the Columns with the specified column.
public TResult As<TResult>(DataTransferColumn column)
Parameters
columnDataTransferColumnThe column from which to return the value from.
Returns
- TResult
The value associated with the
columnconverted to the specifiedTResult.
Type Parameters
TResultThe type of the result.
As<TResult>(string)
Gets the value of a DataTransferColumn from the Columns with the specified name.
public TResult As<TResult>(string name)
Parameters
namestringThe name of the column from which to return the value from.
Returns
- TResult
The value associated with the
nameof a column converted to the specifiedTResult.
Type Parameters
TResultThe type of the result.
As<TResult>(int)
Gets the value of a DataTransferColumn from the Columns with the specified index.
public TResult As<TResult>(int index)
Parameters
indexintThe zero-based index of the column from which to return the value from.
Returns
- TResult
The value associated with the zero-based
indexof a column converted to the specifiedTResult.
Type Parameters
TResultThe type of the result.