OptionalDictionary<TKey,TValue>.Add Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| Add(KeyValuePair<TKey,TValue>) | |
| Add(TKey, TValue) |
Add(KeyValuePair<TKey,TValue>)
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))
Parametrar
Implementeringar
Gäller för
Add(TKey, TValue)
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)
Parametrar
- key
- TKey
- value
- TValue