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).

In This Topic
    ContainsKey(String) Method
    In This Topic
    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
    public static bool ContainsKey( 
       string key
    )

    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