CounterCreationDataCollection.Item Property (Int32)

 

Indexes the CounterCreationData collection.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public CounterCreationData this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

An index into the CounterCreationDataCollection.

Property Value

Type: System.Diagnostics.CounterCreationData

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

Exception Condition
ArgumentOutOfRangeException

index is less than 0.

-or-

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

.NET Framework
Available since 1.1
Return to top
Show: