ExpandoObject.IDictionary<String,Object>.Remove(String) Method
Definition
Removes the element that has the specified key from the IDictionary.
virtual bool System.Collections.Generic.IDictionary<string,object>.Remove(System::String ^ key) = System::Collections::Generic::IDictionary<System::String ^, System::Object ^>::Remove;
bool IDictionary<string,object>.Remove (string key);
abstract member System.Collections.Generic.IDictionary<string,object>.Remove : string -> bool
override this.System.Collections.Generic.IDictionary<string,object>.Remove : string -> bool
Function Remove (key As String) As Boolean Implements IDictionary(Of String, Object).Remove
Parameters
- key
- String
The key of the element to remove.
Returns
true
if the element is successfully removed; otherwise, false
. This method also returns false
if key
was not found in the original IDictionary<TKey,TValue>.