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

Definicja

Usuwa element, który ma określony klucz z .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

Klucz elementu do usunięcia.

Zwraca

Wartość true, jeśli element zostanie pomyślnie usunięty; w przeciwnym razie — false. Ta metoda zwraca również wartość false , jeśli key nie została znaleziona w oryginalnym IDictionary<TKey,TValue>pliku .

Implementuje

Dotyczy