ScopeStorageDictionary.Remove 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
Remove(KeyValuePair<Object,Object>) |
Removes the specified key/value pair from the concatenated ScopeStorageDictionary and BaseScope objects. |
Remove(Object) |
Removes the value that has the specified key from the concatenated ScopeStorageDictionary and BaseScope objects. |
Remove(KeyValuePair<Object,Object>)
Removes the specified key/value pair from the concatenated ScopeStorageDictionary and BaseScope objects.
public virtual bool Remove (System.Collections.Generic.KeyValuePair<object,object> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<obj, obj> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<obj, obj> -> bool
Public Overridable Function Remove (item As KeyValuePair(Of Object, Object)) As Boolean
Parameters
- item
- KeyValuePair<Object,Object>
The key/value pair.
Returns
true if the key/value pair is removed, or false if item
is not found in the concatenated ScopeStorageDictionary and BaseScope objects.
Implements
Applies to
Remove(Object)
Removes the value that has the specified key from the concatenated ScopeStorageDictionary and BaseScope objects.
public virtual bool Remove (object key);
abstract member Remove : obj -> bool
override this.Remove : obj -> bool
Public Overridable Function Remove (key As Object) As Boolean
Parameters
- key
- Object
The key.
Returns
true if the key/value pair is removed, or false if key
is not found in the concatenated ScopeStorageDictionary and BaseScope objects.
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