ExpandoObject.IDictionary<String,Object>.Remove(String) Metod

Definition

Tar bort elementet som har den angivna nyckeln från IDictionary.

 virtual bool System.Collections.Generic.IDictionary<System.String,System.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<System.String,System.Object>.Remove : string -> bool
override this.System.Collections.Generic.IDictionary<System.String,System.Object>.Remove : string -> bool
Function Remove (key As String) As Boolean Implements IDictionary(Of String, Object).Remove

Parametrar

key
String

Nyckeln för elementet som ska tas bort.

Returer

trueom elementet har tagits bort. annars . false Den här metoden returnerar false även om key det inte hittades i den ursprungliga IDictionary<TKey,TValue>.

Implementeringar

Gäller för