ImmutableSortedDictionary<TKey,TValue>.Builder.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(KeyValuePair<TKey,TValue>) |
Adds the specified item to the immutable sorted dictionary. |
Add(TKey, TValue) |
Adds an element that has the specified key and value to the immutable sorted dictionary. |
Add(KeyValuePair<TKey,TValue>)
Adds the specified item to the immutable sorted dictionary.
public:
virtual void Add(System::Collections::Generic::KeyValuePair<TKey, TValue> item);
public void Add (System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member Add : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> unit
Public Sub Add (item As KeyValuePair(Of TKey, TValue))
Parameters
The object to add to the dictionary.
Implements
Applies to
Add(TKey, TValue)
Adds an element that has the specified key and value to the immutable sorted dictionary.
public:
virtual void Add(TKey key, TValue value);
public void Add (TKey key, TValue value);
abstract member Add : 'Key * 'Value -> unit
override this.Add : 'Key * 'Value -> unit
Public Sub Add (key As TKey, value As TValue)
Parameters
- key
- TKey
The key of the element to add.
- value
- TValue
The value of the element to add.
Implements
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.