'Declaration
Public Overloads Shared Function TryGetValue( _ ByVal id As Guid, _ ByRef value As SampledMetricDefinition _ ) As Boolean
public static bool TryGetValue( Guid id, out SampledMetricDefinition value )
Parameters
- id
- The Id of the sampled metric definition to get.
- value
- The output variable to receive the SampledMetricDefinition object if found (null if not).
Return Value
False if no metric definition is registered with the given Id, true if a SampledMetricDefinition is registered with the given Id, or throws an exception if the registered definition is not a SampledMetricDefinition.