Note
The enumerator of the returned collection does not support the IEnumerator.Reset method.
public ICollection<string> Keys { get; }
Public ReadOnly Property Keys As ICollection(Of String)
Get
public:
virtual property ICollection<String^>^ Keys {
ICollection<String^>^ get () sealed;
}
abstract Keys : ICollection<string> with get
override Keys : ICollection<string> with get
The returned ICollectionT is not a static copy; instead, the ICollectionT refers back to the keys in the original StringKeyedDictionaryTValue. Therefore, changes to the StringKeyedDictionaryTValue continue to be reflected in the ICollectionT.
Retrieving the value of this property is an O(1) operation.