Table of Contents

As Method

Definition

Namespace
Cuemon.Data
Assemblies
Cuemon.Data.dll
Source
src/Cuemon.Data/DataTransferRow.cs

As<TResult>(DataTransferColumn)

Gets the value of a DataTransferColumn from the Columns with the specified column.

public TResult As<TResult>(DataTransferColumn column)

Parameters

column DataTransferColumn

The column from which to return the value from.

Returns

TResult

The value associated with the column converted to the specified TResult.

Type Parameters

TResult

The 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

name string

The name of the column from which to return the value from.

Returns

TResult

The value associated with the name of a column converted to the specified TResult.

Type Parameters

TResult

The 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

index int

The zero-based index of the column from which to return the value from.

Returns

TResult

The value associated with the zero-based index of a column converted to the specified TResult.

Type Parameters

TResult

The type of the result.