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.

InstanceDataCollectionCollection::Values Property

 

Gets the instance data values that comprise the collection of instances for the counter.

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

public:
property ICollection^ Values {
	ICollection^ get();
}

Property Value

Type: System.Collections::ICollection^

An ICollection that represents the counter's instances and their associated data values.

The following code example uses the Values property of an InstanceDataCollectionCollection to return a collection of InstanceDataCollection objects, which it converts to an array. It generates an array of counter names using the Keys property. For each element in the array of InstanceDataCollection objects, it displays the associated counter name and calls a function to process the InstanceDataCollection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft