ReadOnlyDictionaryTKey, TValue Class |
Namespace: X3Platform.Collections
public class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
The ReadOnlyDictionaryTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
![]() | ReadOnlyDictionaryTKey, TValue | 初始化只读字典类的新实例,该实例包装了一个普通的字典实例。 |
Name | Description | |
---|---|---|
![]() | Contains | 确定集合中是否包含特定值。 |
![]() | ContainsKey | 确定字典中是否包含指定的键。 |
![]() | CopyTo | 从特定的数组索引开始,将集合中的元素复制到一个数组中。 |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetEnumerator | 返回一个循环访问集合的枚举数。 |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
![]() | TryGetValue | 获取与指定的键相关联的值。 |
Name | Description | |
---|---|---|
![]() | Count | 获取集合中包含的元素数。 |
![]() | IsReadOnly | 获取一个值,该值指示集合是否为只读。此实现总是返回true。 |
![]() | Item | 获取与指定的键相关联的值。 |
![]() | Keys | 获取包含字典中的键的集合。 |
![]() | Values | 获取包含字典中的值的集合。 |