Click or drag to resize

CategoricalVariableAdd Method (Double)

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

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public void Add(
	double categoryCode
)

Parameters

categoryCode
Type: SystemDouble
The category code.
Exceptions
ExceptionCondition
InvalidOperationException The CategoricalVariable is read-only.
-or-
A category with the same code or label already exists in the CategoricalVariable.
Remarks
The category label defaults to the result of the conversion of the category code to a string, its description to the empty string.
See Also