Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool LoadBoolean(
	ref bool value,
	Object newValue
)

Parameters

value
Type: SystemBoolean
Value to load
newValue
Type: SystemObject
New value

Return Value

Type: Boolean
See Also