InstanceDataCollection::Values Property
.NET Framework (current version)
Gets the raw counter values that comprise the instance data for the counter.
Assembly: System (in System.dll)
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.
.NET Framework
Available since 1.1
Available since 1.1
Show: