Click or drag to resize

CategoricalVariableAdd Method (Double, String)

Adds a category having the specified code and label to the CategoricalVariable.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public void Add(
	double code,
	string label
)

Parameters

code
Type: SystemDouble
The category code.
label
Type: SystemString
The category label.
Exceptions
ExceptionCondition
ArgumentNullExceptionlabel is null.
ArgumentOutOfRangeExceptionlabel is empty, or consists only of white-space characters.
InvalidOperationException The CategoricalVariable is read-only.
-or-
A category with the same code or label already exists in the CategoricalVariable.
See Also