CSXmlParserGetParameterAsBoolean Method (String) Content Studio 5.7 SDK
Content Studio Web Content Management System

[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

public bool GetParameterAsBoolean(
	string parameterName
)

Parameters

parameterName
Type: SystemString
The name of the parameter to return

Return Value

Type: Boolean
The value as a Boolean
Exceptions

ExceptionCondition
ArgumentExceptionThe parameter does not exist
InvalidCastExceptionThe parameter value cannot be converted to the return type.
See Also

Reference