'Declaration
Public Overloads Shared Function TryGetValue( _ ByVal metricDataObjectType As Type, _ ByRef value As EventMetricDefinition _ ) As Boolean
public static bool TryGetValue( Type metricDataObjectType, out EventMetricDefinition value )
Parameters
- metricDataObjectType
- A specific Type with attributes defining an event metric.
- value
- The output variable to receive the EventMetricDefinition object if found (null if not).
Return Value
False if no EventMetric attribute is found on the specified Type, or if no metric definition is registered with the 3-part Key found in that attribute, true if an EventMetricDefinition is registered with the given Key, or throws an exception if the registered definition found is not an EventMetricDefinition.