Click or drag to resize

BcfCellExtensionsGetValueT Method (BcfCell)

Gets Value preserving boxing. The method does not support type conversions. You can read Int32 from int?-cells as long Value is not null; String from IComparable-cells as long there are strings; you CAN NOT read Int32 from Byte or any other thing that requires explicit or implicit conversions.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public static T GetValue<T>(
	this BcfCell cell
)

Parameters

cell
Type: CalculationWorks.BusinessModelBcfCell
The cell.

Type Parameters

T
Value type

Return Value

Type: T

[Missing <returns> documentation for "M:CalculationWorks.BusinessModel.BcfCellExtensions.GetValue``1(CalculationWorks.BusinessModel.BcfCell)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BcfCell. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptioncell is .
InvalidOperationExceptionThe value of underlying cell is not usable without conversion.
See Also