Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Agent.PerformanceCounters Namespace / PerfCounterCollection Class / ContainsKey Method / ContainsKey(String,String) Method
The name of the performance counter category (performance object) with which this performance counter is associated.
The name of the performance counter.

In This Topic
    ContainsKey(String,String) Method
    In This Topic
    Determines whether the collection contains an element with the specified key.
    Syntax
    'Declaration
     
    
    Public Overloads Function ContainsKey( _
       ByVal categoryName As String, _
       ByVal counterName As String _
    ) As Boolean
    public bool ContainsKey( 
       string categoryName,
       string counterName
    )

    Parameters

    categoryName
    The name of the performance counter category (performance object) with which this performance counter is associated.
    counterName
    The name of the performance counter.

    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