CSXmlParserGetParameterAsBooleanArray Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[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: Boolean
A array of Boolean values.
Exceptions

ExceptionCondition
InvalidCastExceptionOne or more values was either not Empty or not possible to convert to a Boolean.
Remarks

The underlying values are stored as strings and may contain the following value pairs
  • true/false
  • on/off
  • 1/0
Empty members in the value are ignored.
See Also

Reference