This documentation is archived and is not being maintained.

PerformanceCounterPermissionEntryCollection Methods

The methods of the PerformanceCounterPermissionEntryCollection class are listed here. For a complete list of PerformanceCounterPermissionEntryCollection class members, see the PerformanceCounterPermissionEntryCollection Members topic.

Public Methods

public methodAdd Adds a specified PerformanceCounterPermissionEntry to this collection.
public methodAddRange Overloaded. Appends a set of specified permission entries to this collection.
public methodClear (inherited from CollectionBase) Removes all objects from the CollectionBase instance.
public methodContains Determines whether this collection contains a specified PerformanceCounterPermissionEntry object.
public methodCopyTo Copies the permission entries from this collection to an array, starting at a particular index of the array.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator (inherited from CollectionBase) Returns an enumerator that can iterate through the CollectionBase instance.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIndexOf Determines the index of a specified permission entry in this collection.
public methodInsert Inserts a permission entry into this collection at a specified index.
public methodRemove Removes a specified permission entry from this collection.
public methodRemoveAt (inherited from CollectionBase) Removes the element at the specified index of the CollectionBase instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnClear Overridden. See CollectionBase.OnClear.
protected methodOnClearComplete (inherited from CollectionBase) Performs additional custom processes after clearing the contents of the CollectionBase instance.
protected methodOnInsert Overridden. See CollectionBase.OnInsert.
protected methodOnInsertComplete (inherited from CollectionBase) Performs additional custom processes after inserting a new element into the CollectionBase instance.
protected methodOnRemove Overridden. See CollectionBase.OnRemove.
protected methodOnRemoveComplete (inherited from CollectionBase) Performs additional custom processes after removing an element from the CollectionBase instance.
protected methodOnSet Overridden. See CollectionBase.OnSet.
protected methodOnSetComplete (inherited from CollectionBase) Performs additional custom processes after setting a value in the CollectionBase instance.
protected methodOnValidate (inherited from CollectionBase) Performs additional custom processes when validating a value.

See Also

PerformanceCounterPermissionEntryCollection Class | System.Diagnostics Namespace

Show: