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.

InstanceDataCollection::Values Property

 

Gets the raw counter values that comprise the instance data 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 raw data values.

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

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