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