[This is preliminary documentation and is subject to change.]
Determines whether the specified value is valid.
Namespace: CalculationWorks.BusinessModel.Behaviors
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 1.1.0.0
Syntax
Parameters
- value
- Type: SystemObject
The value.
Return Value
Type: Booleantrue if the specified value is valid; otherwise, false.
Remarks
The method is called immediately when a value is written into a cell. Return false to prevent setting the value.
If value is null IsValid should always return true. Null value should be rejected by the BcfColumnNotNullConstraint only.
If IsValid() returns false an ArgumentException will be thrown. The Message property will also contain the IBcfColumnTypeConstraint objects ToString result.
See Also