CSXmlParserGetParameterAsInt32Array 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 Int32 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 int[] GetParameterAsInt32Array(
	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: Int32
A array of Int32 values. Empty members in the value is omitted rather than returned as a zero element.
Exceptions

ExceptionCondition
InvalidCastExceptionOne or more values was either not Empty or not possible to convert to a Int32.
See Also

Reference