Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ReadOnlyDictionary45<TKey,TValue>.KeyCollection 类

定义

字典键的集合

[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()

字典键的集合

适用于