Édition

Partage via


CounterCreationDataCollection.Item[Int32] Property

Definition

Indexes the CounterCreationData collection.

public:
 property System::Diagnostics::CounterCreationData ^ default[int] { System::Diagnostics::CounterCreationData ^ get(int index); void set(int index, System::Diagnostics::CounterCreationData ^ value); };
public System.Diagnostics.CounterCreationData this[int index] { get; set; }
member this.Item(int) : System.Diagnostics.CounterCreationData with get, set
Default Public Property Item(index As Integer) As CounterCreationData

Parameters

index
Int32

An index into the CounterCreationDataCollection.

Property Value

The collection index, which is used to access individual elements of the collection.

Exceptions

index is less than 0.

-or-

index is equal to or greater than the number of items in the collection.

Applies to