Dil

SortedDictionary<TKey,TValue>.ValueCollection Oluşturucu

Tanım

Sınıfın SortedDictionary<TKey,TValue>.ValueCollection belirtilen SortedDictionary<TKey,TValue>içindeki değerleri yansıtan yeni bir örneğini başlatır.

public:
 ValueCollection(System::Collections::Generic::SortedDictionary<TKey, TValue> ^ dictionary);
public ValueCollection(System.Collections.Generic.SortedDictionary<TKey,TValue> dictionary);
new System.Collections.Generic.SortedDictionary<'Key, 'Value>.ValueCollection : System.Collections.Generic.SortedDictionary<'Key, 'Value> -> System.Collections.Generic.SortedDictionary<'Key, 'Value>.ValueCollection
Public Sub New (dictionary As SortedDictionary(Of TKey, TValue))

Parametreler

Özel durumlar

dictionary, null'e eşittir.

Açıklamalar

SortedDictionary<TKey,TValue>.ValueCollection statik bir kopya değildir; bunun yerine, SortedDictionary<TKey,TValue>.ValueCollection özgün SortedDictionary<TKey,TValue>içindeki değerlere başvurur. Bu nedenle, dosyasındaki SortedDictionary<TKey,TValue> değişiklikler öğesine SortedDictionary<TKey,TValue>.ValueCollectionyansıtılmaya devam edilir.

Bu oluşturucu bir O(1) işlemidir.

Şunlara uygulanır