Click or drag to resize
SyncDictionaryTKey, TValue Class
同步的表示键和值(字典)的集合。
Inheritance Hierarchy
SystemObject
  X3Platform.CollectionsSyncDictionaryTKey, TValue

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public class SyncDictionary<TKey, TValue> : IDictionary<TKey, TValue>, 
	ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
	IEnumerable

Type Parameters

TKey
字典中的键的类型。
TValue
字典中的值的类型。

The SyncDictionaryTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodSyncDictionaryTKey, TValue
Initializes a new instance of the SyncDictionaryTKey, TValue class
Public methodSyncDictionaryTKey, TValue(IDictionaryTKey, TValue)
Initializes a new instance of the SyncDictionaryTKey, TValue class
Top
Methods
  NameDescription
Public methodAdd
Public methodClear
Public methodContainsKey
确定字典中是否包含指定的键。
Public methodCopyTo
从特定的数组索引开始,将集合中的元素复制到一个数组中。
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
返回一个循环访问集合的枚举数。
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove
从字典中移除所指定的键的值。
Public methodToString (Inherited from Object.)
Public methodTryGetValue
Top
Properties
  NameDescription
Public propertyCount
获取集合中包含的元素数。
Public propertyItem
获取与指定的键相关联的值。
Public propertyKeys
获取包含字典中的键的集合。
Public propertyValues
获取包含字典中的值的集合。
Top
See Also