Note
The enumerator of the returned collection supports the IEnumerator.Reset method.
public ICollection<TValue> Values { get; }
Public ReadOnly Property Values As ICollection(Of TValue)
Get
public:
virtual property ICollection<TValue>^ Values {
ICollection<TValue>^ get () sealed;
}
abstract Values : ICollection<'TValue> with get
override Values : ICollection<'TValue> with get
The returned collection represents a moment-in-time snapshot of the values of the LockingDictionaryTKey, TValue. It does not reflect any updates to the dictionary after Values were obtained. The collection is safe to use concurrently with reads from and writes to the dictionary.
This property has an O(n) cost where n is the number of elements in the dictionary.