Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
The value as a Boolean
[This is preliminary documentation and is subject to change.]
Returns a parameter as an integer. The value must be possible to convert to boolean. Valid value pairs are true/false, 1/0, yes/no or on/off.
Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- parameterName
- Type: SystemString
The name of the parameter to return - defaultValue
- Type: SystemBoolean
The value to return if the parameter does not exists
Return Value
Type: BooleanThe value as a Boolean
Exceptions
Exception | Condition |
---|---|
InvalidCastException | The parameter value cannot be converted to the return type. |
See Also