Gets the level index of the value at the specified index.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GetLevelIndex ( _ index As Integer _ ) As Integer |
| C# |
|---|
public int GetLevelIndex ( int index ) |
| C++ |
|---|
public: int GetLevelIndex ( int index ) |
Parameters
- index (System.Int32)
- A zero based index.
Return Value
The zero-based leven index of the value at the specified index.
Remarks
The level index is the index of the object value at the specified index
into the levels collection of the variable's CategoricalScale.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero or greater than or equal to Length. |