Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft