ValidatorIsBoolean Method |
Determines whether source control's value is boolean.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic Validator IsBoolean(
Object source,
string errorMessage
)
Parameters
- source
- Type: SystemObject
Control to validate - errorMessage
- Type: SystemString
It is returned when control's value is not boolean
Return Value
Type:
Validator
See Also