Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / EventMetricDefinition Class / ContainsKey Method / ContainsKey(String) Method
The Key of the event metric definition to check (composed of the metrics system, category name, and counter name combined as a single string).

ContainsKey(String) Method
Determines whether the collection of all metric definitions contains an element with the specified key.
Syntax
'Declaration
 
Public Overloads Shared Function ContainsKey( _
   ByVal key As String _
) As Boolean
 

Parameters

key
The Key of the event metric definition to check (composed of the metrics system, category name, and counter name combined as a single string).

Return Value

true if the collection contains an element with the key; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also