'Declaration
Public Overloads Function ContainsKey( _ ByVal categoryName As String, _ ByVal counterName As String, _ ByVal instanceName As String _ ) As Boolean
public bool ContainsKey( string categoryName, string counterName, string instanceName )
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.
- instanceName
- The name of the performance counter category instance, or an empty string (""), if the category contains a single instance.
Return Value
true if the collection contains an element with the key; otherwise, false.