CounterCreationDataCollection.Item Property (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: