ImmutableSortedDictionary<TKey,TValue>.SetItems Yöntem
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.
Sabit sıralanmış sözlükte belirtilen anahtar/değer çiftlerini ayarlar ve muhtemelen anahtarlar için varolan değerlerin üzerine yazar.
public:
System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ SetItems(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ items);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> SetItems (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
member this.SetItems : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function SetItems (items As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As ImmutableSortedDictionary(Of TKey, TValue)
Parametreler
- items
- IEnumerable<KeyValuePair<TKey,TValue>>
Sözlükte ayarlanacağı anahtar/değer çiftleri. Anahtarlardan herhangi biri sözlükte zaten varsa, bu yöntem önceki değerlerinin üzerine yazar.
Döndürülenler
Belirtilen anahtar/değer çiftlerini içeren sabit bir sözlük.
Şunlara uygulanır
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.