Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
A array of DateTime values. Empty members in the value will be returned as DateTime with the default value.
[This is preliminary documentation and is subject to change.]
Returns an array of strings 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 DateTime[] GetParameterAsDateTimeArray( 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: DateTimeA array of DateTime values. Empty members in the value will be returned as DateTime with the default value.
Exceptions
Exception | Condition |
---|---|
InvalidCastException | One or more values was either not Empty or not possible to convert to a DateTime. |
See Also