你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ReadOnlyDictionary45<TKey,TValue>.KeyCollection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
字典键的集合
[System.Serializable]
public sealed class ReadOnlyDictionary45<TKey,TValue>.KeyCollection : System.Collections.Generic.ICollection<TKey>, System.Collections.Generic.IEnumerable<TKey>, System.Collections.ICollection
[<System.Serializable>]
type ReadOnlyDictionary45<'Key, 'Value>.KeyCollection = class
interface ICollection<'Key>
interface seq<'Key>
interface IEnumerable
interface ICollection
Public NotInheritable Class ReadOnlyDictionary45(Of TKey, TValue).KeyCollection
Implements ICollection, ICollection(Of TKey), IEnumerable(Of TKey)
类型参数
- TKey
- TValue
- 继承
-
ReadOnlyDictionary45<TKey,TValue>.KeyCollection
- 属性
- 实现
属性
Count |
密钥计数 |
方法
CopyTo(TKey[], Int32) |
将密钥集合复制到指定的数组 |
GetEnumerator() |
获取枚举器 |
显式接口实现
ICollection.CopyTo(Array, Int32) |
字典键的集合 |
ICollection.IsSynchronized |
字典键的集合 |
ICollection.SyncRoot |
字典键的集合 |
ICollection<TKey>.Add(TKey) |
字典键的集合 |
ICollection<TKey>.Clear() |
字典键的集合 |
ICollection<TKey>.Contains(TKey) |
字典键的集合 |
ICollection<TKey>.IsReadOnly |
字典键的集合 |
ICollection<TKey>.Remove(TKey) |
字典键的集合 |
IEnumerable.GetEnumerator() |
字典键的集合 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈