SortedDictionary<TKey,TValue>.ValueCollection Oluşturucu
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
- dictionary
- SortedDictionary<TKey,TValue>
SortedDictionary<TKey,TValue> Değerleri yeni SortedDictionary<TKey,TValue>.ValueCollectionöğesine yansıtılan değeridir.
Ö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.