ValidationHelperLoadBoolean Method |
Attempts to load the given new value as a bool to the result. Returns true if the conversion of the new value was successful, if not, returns false and keeps the value the same.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static bool LoadBoolean(
ref bool value,
Object newValue
)
Parameters
- value
- Type: SystemBoolean
Value to load - newValue
- Type: SystemObject
New value
Return Value
Type:
BooleanSee Also