Gets the StatisticDefinition based on its ID.

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 StatisticDefinition GetStatisticDefinition(
	StatisticIdentifier statisticId
)
Visual Basic
Public Function GetStatisticDefinition ( _
	statisticId As StatisticIdentifier _
) As StatisticDefinition

Return Value

A statistic definition if found, otherwise nullNothingnullptra null reference (Nothing in Visual Basic).

Exceptions

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

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