Gets the StatisticDefinition based on its ID.
Namespace: ININ.IceLib.StatisticsAssembly: 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 |
Parameters
- statisticId
- Type: ININ.IceLib.Statistics..::..StatisticIdentifier
The ID of the StatisticDefinition.
Return Value
A statistic definition if found, otherwise nullNothingnullptra null reference (Nothing in Visual Basic).Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | A watch was not started. |
System..::..ArgumentNullException | statisticId 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.
For 4.0, supported for IC Server version 4.0 GA and beyond.