CounterCreationDataCollection.Item Property

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.

ExceptionCondition
ArgumentOutOfRangeException

index is less than 0.

-or-

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft