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

Definice

Odebere prvek, který má zadaný klíč, z objektu 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

Parametry

key
String

Klíč prvku, který chcete odebrat.

Návraty

Hodnota true, pokud je element úspěšně odebrán, v opačném případě hodnota false Tato metoda také vrátí false , pokud key nebyla nalezena v původním IDictionary<TKey,TValue>souboru .

Implementuje

Platí pro