 |
| IBcfColumnTypeConstraintIsValid Method |
Determines whether the specified value is valid.
Namespace: CalculationWorks.BusinessModel.BehaviorsAssembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 3.0.2.0
Syntaxbool IsValid(
Object value
)
Function IsValid (
value As Object
) As Boolean
bool IsValid(
Object^ value
)
abstract IsValid :
value : Object -> bool
Parameters
- value
- Type: SystemObject
The value.
Return Value
Type:
Booleantrue if the specified value is valid; otherwise,
false.
RemarksThe 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.
Version InformationCalculationWorks.BusinessModel
Supported in: 3.0, 2.1, 2.0
See Also