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

[This is preliminary documentation and is subject to change.]

Converts a string consisting of a list of comma separated values (that are possible to convert to integers) into an array of integers.

Namespace: ContentStudio.Site.ActiveScripting.Document
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public static int[] CommaSeparatedListToIntArray(
	string Input
)

Parameters

Input
Type: SystemString
A list of comma separated values, that can be converted to integers.

Return Value

Type: Int32
An array of integers
Exceptions

ExceptionCondition
InvalidCastExceptionOne or more of the comma separated entries cannot be converted to an integer
ArgumentNullExceptionThe input is null.
See Also

Reference