Initializes a new instance of the StructuredParameter class.

Namespace: ININ.IceLib.Configuration.DataTypes
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (21.2.0.218)

Syntax

C#
public StructuredParameter(
	string name,
	StructuredParameterType parameterType,
	IEnumerable<string> values
)
Visual Basic
Public Sub New ( _
	name As String, _
	parameterType As StructuredParameterType, _
	values As IEnumerable(Of String) _
)

Parameters

name
Type: System..::..String
The name of the structured parameter.
parameterType
Type: ININ.IceLib.Configuration.DataTypes..::..StructuredParameterType
The type of structured parameter.
values
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
The values for the structured parameter.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionname or values is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentExceptionname is Empty.
System..::..ArgumentOutOfRangeExceptionparameterType is not a valid StructuredParameterType, or is None.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 5 and beyond.

See Also