Click or drag to resize

BcfRowGetNullableT Method (String)

[This is preliminary documentation and is subject to change.]

Gets the value stored in column with specified columnName.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta6
Syntax
public Nullable<T> GetNullable<T>(
	string columnName
)
where T : struct, new()

Parameters

columnName
Type: SystemString
The column name.

Type Parameters

T
The not-nullable value type.

Return Value

Type: NullableT
The value stored in column with specified columnName if set; otherwise null.
Exceptions
ExceptionCondition
ArgumentNullExceptioncolumnName is null.
ArgumentExceptionThe column specified by columnName cannot be found.
InvalidCastExceptionThe ValueType of column with specified columnName is not of type T and not T?.
Version Information

BCF

Supported in: 4.0
See Also