Gets the statistic category.

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

Collapse imageSyntax

C#
public StatisticCategory GetStatisticCategory(
	string categoryId
)
Visual Basic
Public Function GetStatisticCategory ( _
	categoryId As String _
) As StatisticCategory

Parameters

categoryId
Type: System..::..String
The category ID.

Return Value

A statistic category if found, or nullNothingnullptra null reference (Nothing in Visual Basic) if the statistic category does not exist.

Collapse imageExamples

The IceLib SDK includes example application references to the GetStatisticCategory method (or a variation). Some examples are listed below.
ProjectLocation
TutorialExampleSystemStatisticsViewModel.cs, line 108, in SystemStatisticsViewModel.StartWatchingCatalogCompleted

Collapse imageExceptions

ExceptionCondition
System..::..InvalidOperationExceptionA watch was not started.
System..::..ArgumentNullExceptioncategoryId is nullNothingnullptra null reference (Nothing in Visual Basic).

Collapse imageVersion Information

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

Collapse imageSee Also