ScopeStorageDictionary.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<Object,Object>) |
Adds a key/value pair to the ScopeStorageDictionary object using the specified generic collection. |
Add(Object, Object) |
Adds the specified key and specified value to the ScopeStorageDictionary object. |
Add(KeyValuePair<Object,Object>)
Adds a key/value pair to the ScopeStorageDictionary object using the specified generic collection.
public virtual void Add (System.Collections.Generic.KeyValuePair<object,object> item);
abstract member Add : System.Collections.Generic.KeyValuePair<obj, obj> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<obj, obj> -> unit
Public Overridable Sub Add (item As KeyValuePair(Of Object, Object))
Parameters
- item
- KeyValuePair<Object,Object>
The key/value pair.
Implements
Applies to
Add(Object, Object)
Adds the specified key and specified value to the ScopeStorageDictionary object.
public virtual void Add (object key, object value);
abstract member Add : obj * obj -> unit
override this.Add : obj * obj -> unit
Public Overridable Sub Add (key As Object, value As Object)
Parameters
- key
- Object
The key.
- value
- Object
The value.
Implements
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for