Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InstanceDataCollection Members

InstanceDataCollection Members

Provides a strongly typed collection of InstanceData objects.

The following tables list the members exposed by the InstanceDataCollection type.

  Name Description
Public method InstanceDataCollection Initializes a new instance of the InstanceDataCollection class, using the specified performance counter (which defines a performance instance).
Top

(see also Protected Properties )
  Name Description
Public property Count  Gets the number of elements contained in the DictionaryBase instance.(Inherited from DictionaryBase.)
Public property CounterName Gets the name of the performance counter whose instance data you want to get.
Public property Item Gets the instance data associated with this counter. This is typically a set of raw counter values.
Public property Keys Gets the object and counter registry keys for the objects associated with this instance data.
Public property Values Gets the raw counter values that comprise the instance data for the counter.
Top

  Name Description
Protected property Dictionary  Gets the list of elements contained in the DictionaryBase instance.(Inherited from DictionaryBase.)
Protected property InnerHashtable  Gets the list of elements contained in the DictionaryBase instance.(Inherited from DictionaryBase.)
Top

(see also Protected Methods )
  Name Description
Public method Clear  Clears the contents of the DictionaryBase instance. (Inherited from DictionaryBase.)
Public method Contains Determines whether a performance instance with a specified name (identified by one of the indexed InstanceData objects) exists in the collection.
Public method CopyTo Overloaded. Copies an array of items to a collection, at the specified index.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetEnumerator  Returns an IDictionaryEnumerator that iterates through the DictionaryBase instance. (Inherited from DictionaryBase.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnClear  Performs additional custom processes before clearing the contents of the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnClearComplete  Performs additional custom processes after clearing the contents of the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnGet  Gets the element with the specified key and value in the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnInsert  Performs additional custom processes before inserting a new element into the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnInsertComplete  Performs additional custom processes after inserting a new element into the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnRemove  Performs additional custom processes before removing an element from the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnRemoveComplete  Performs additional custom processes after removing an element from the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnSet  Performs additional custom processes before setting a value in the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnSetComplete  Performs additional custom processes after setting a value in the DictionaryBase instance. (Inherited from DictionaryBase.)
Protected method OnValidate  Performs additional custom processes when validating the element with the specified key and value. (Inherited from DictionaryBase.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft