Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
A array of Boolean values.
The underlying values are stored as strings and may contain the following value pairs
[This is preliminary documentation and is subject to change.]
Returns an array of Boolean values that are stored as a separated value strings in the parameter.
Namespace: ContentStudio
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
public bool[] GetParameterAsBooleanArray( string parameterName, char[] separator, bool optional )
Parameters
- parameterName
- Type: SystemString
The name of the parameter to return - separator
- Type: SystemChar
An array of characters that delimits the sub values in the value. - optional
- Type: SystemBoolean
Indicates that this is an optional parameter. If optional is specified and the parameter does not exist an empty array is returned.
Return Value
Type: BooleanA array of Boolean values.
Exceptions
Exception | Condition |
---|---|
InvalidCastException | One or more values was either not Empty or not possible to convert to a Boolean. |
Remarks
- true/false
- on/off
- 1/0
See Also