Gets the statistic categories.

Namespace: ININ.IceLib.Statistics
Assembly: ININ.IceLib.Statistics (in ININ.IceLib.Statistics.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public ReadOnlyCollection<StatisticCategory> GetStatisticCategories()
Visual Basic
Public Function GetStatisticCategories As ReadOnlyCollection(Of StatisticCategory)

Return Value

The list of statistic categories.

Remarks

This method is only valid after a StartWatching has been invoked.

Examples

The IceLib SDK includes example application references to the GetStatisticCategories method (or a variation). Some examples are listed below.
ProjectLocation
TutorialExampleStatisticCatalogViewModel.cs, line 236, in StatisticCatalogViewModel.StartWatchingCompleted

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionA watch was not started.

Version Information

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

See Also