InstanceDataCollectionCollection 成员

提供 InstanceDataCollection 对象的强类型集合。

下表列出了由 InstanceDataCollectionCollection 类型公开的成员。

公共构造函数

  名称 说明
Public method InstanceDataCollectionCollection  

页首

公共属性

(请参见 受保护的属性 )

  名称 说明
Public property Count  获取包含在 DictionaryBase 实例中的元素数。(从 DictionaryBase 继承。)
Public property Item 获取指定计数器的实例数据。
Public property Keys 获取对象和与该实例数据集合关联的对象的计数器注册表项。
Public property Values 获取组成计数器实例集合的实例数据值。

页首

受保护的属性

  名称 说明
Protected property Dictionary  获取包含在 DictionaryBase 实例中的元素的列表。(从 DictionaryBase 继承。)
Protected property InnerHashtable  获取包含在 DictionaryBase 实例中的元素的列表。(从 DictionaryBase 继承。)

页首

公共方法

(请参见 受保护的方法 )

  名称 说明
Public method Clear  清除 DictionaryBase 实例的内容。 (从 DictionaryBase 继承。)
Public method Contains 确定集合中是否存在指定计数器的实例数据集合(由索引 InstanceDataCollection 对象之一来标识)。
Public method CopyTo 已重载。 将项数组复制到集合中的指定索引处。
Public method Equals  已重载。 确定两个 Object 实例是否相等。 (从 Object 继承。)
Public method GetEnumerator  返回循环访问 DictionaryBase 实例的 IDictionaryEnumerator。 (从 DictionaryBase 继承。)
Public method GetHashCode  用作特定类型的哈希函数。GetHashCode 适合在哈希算法和数据结构(如哈希表)中使用。 (从 Object 继承。)
Public method GetType  获取当前实例的 Type。 (从 Object 继承。)
Public method Static ReferenceEquals  确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。)
Public method ToString  返回表示当前 ObjectString。 (从 Object 继承。)

页首

受保护的方法

  名称 说明
Protected method Finalize  允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。)
Protected method MemberwiseClone  创建当前 Object 的浅表副本。 (从 Object 继承。)
Protected method OnClear  在清除 DictionaryBase 实例的内容之前执行其他自定义进程。 (从 DictionaryBase 继承。)
Protected method OnClearComplete  在清除 DictionaryBase 实例的内容之后执行其他自定义进程。 (从 DictionaryBase 继承。)
Protected method OnGet  获取 DictionaryBase 实例中带有指定键和值的元素。 (从 DictionaryBase 继承。)
Protected method OnInsert  在向 DictionaryBase 实例中插入新元素之前执行其他自定义进程。 (从 DictionaryBase 继承。)
Protected method OnInsertComplete  在向 DictionaryBase 实例中插入新元素之后执行其他自定义进程。 (从 DictionaryBase 继承。)
Protected method OnRemove  当从 DictionaryBase 实例移除元素时执行其他自定义进程。 (从 DictionaryBase 继承。)
Protected method OnRemoveComplete  在从 DictionaryBase 实例中移除元素之后执行其他自定义进程。 (从 DictionaryBase 继承。)
Protected method OnSet  当在 DictionaryBase 实例中设置值之前执行其他自定义进程。 (从 DictionaryBase 继承。)
Protected method OnSetComplete  当在 DictionaryBase 实例中设置值后执行其他自定义进程。 (从 DictionaryBase 继承。)
Protected method OnValidate  当验证带有指定键和值的元素时执行其他自定义进程。 (从 DictionaryBase 继承。)

页首

请参见

参考

InstanceDataCollectionCollection 类
System.Diagnostics 命名空间
InstanceDataCollection 类
InstanceData 类
CounterSample 结构