CounterCreationDataCollection Class

Provides a strongly typed collection of CounterCreationData objects.

Inheritance Hierarchy

  • System.Collections.CollectionBase
    • System.Diagnostics.CounterCreationDataCollection
Namespace: System.DiagnosticsAssembly: System in (System.dll)

Syntax

public class CounterCreationDataCollection : CollectionBase

The CounterCreationDataCollection type exposes the following members.

Constructors

Class Summary
public constructor CounterCreationDataCollection(CounterCreationData[])
Initializes a new instance of the CounterCreationDataCollection class, using the specified array of CounterCreationData instances.
public constructor CounterCreationDataCollection(CounterCreationDataCollection)
Initializes a new instance of the CounterCreationDataCollection class, using the specified collection of CounterCreationData instances.
public constructor CounterCreationDataCollection()
Initializes a new instance of the CounterCreationDataCollection class, with no associated CounterCreationData instances.

Methods

Name Summary
public method Add(CounterCreationData)
Adds an instance of the CounterCreationData class to the collection.
public method AddRange(CounterCreationDataCollection)
Adds a collection of CounterCreationData instances to the collection.
public method AddRange(CounterCreationData[])
Adds an array of CounterCreationData instances to the collection.
public method Contains(CounterCreationData)
Determines whether a CounterCreationData instance exists in the collection.
public method CopyTo(CounterCreationData[], Int32)
Copies the elements of the CounterCreationData to an array, starting at the specified index of the array.
public method IndexOf(CounterCreationData)
Returns the index of a CounterCreationData in the collection.
public method Insert(Int32, CounterCreationData)
Inserts a CounterCreationData into the collection, at the specified index.
public method Remove(CounterCreationData)
Removes a CounterCreationData from the collection.

Properties

Name Summary
public properties Item(Int32)
Indexes the CounterCreationData collection.