Gets a textual representation of the level at the specified index.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GetCaption ( _ levelIndex As Integer _ ) As String |
| C# |
|---|
public string GetCaption ( int levelIndex ) |
| C++ |
|---|
public: String^ GetCaption ( int levelIndex ) |
Parameters
- levelIndex (System.Int32)
- The zero-based level index.
Return Value
A String representation of the level.
Remarks
If no captions were supplied to the constructor, the caption is
obtained by calling the ToString() method on the level.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | levelIndex is less than zero or greater than or equal to Count. |