Click or drag to resize

BcfCellExtensionsValueEqualsT Method (BcfCell, T, BcfValueComparisonMode, Boolean)

Compares a specified value with the Value and returns the result.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.2.0
Syntax
public static bool ValueEquals<T>(
	this BcfCell cell,
	T value,
	BcfValueComparisonMode comparisonMode = BcfValueComparisonMode.Value,
	bool format = true
)

Parameters

cell
Type: CalculationWorks.BusinessModelBcfCell
The cell.
value
Type: T
The other.
comparisonMode (Optional)
Type: CalculationWorks.BusinessModelBcfValueComparisonMode
The comparsion mode.
format (Optional)
Type: SystemBoolean
to format specified value before comparsion. Default is .

Type Parameters

T
Value type

Return Value

Type: Boolean
if Value equals value, otherwise.

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 .
See Also