CounterCreationDataCollection::Item Property (Int32)

 

Indexes the CounterCreationData collection.

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

public:
property CounterCreationData^ default[
	int index
] {
	CounterCreationData^ get(int index);
	void set(int index, CounterCreationData^ value);
}

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: