JsonObject.ICollection<KeyValuePair<String,JsonValue>>.Remove Methode

Definition

Entfernt das erste Vorkommen eines angegebenen Objekts aus der ICollection<T>.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Json.JsonValue>>.Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^> item) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Json::JsonValue ^>>::Remove;
bool ICollection<KeyValuePair<string,JsonValue>>.Remove (System.Collections.Generic.KeyValuePair<string,System.Json.JsonValue> item);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Json.JsonValue>>.Remove : System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Json.JsonValue>>.Remove : System.Collections.Generic.KeyValuePair<string, System.Json.JsonValue> -> bool
Function Remove (item As KeyValuePair(Of String, JsonValue)) As Boolean Implements ICollection(Of KeyValuePair(Of String, JsonValue)).Remove

Parameter

item
KeyValuePair<String,JsonValue>

Das aus der ICollection<T> zu entfernende Objekt.

Gibt zurück

true, wenn item erfolgreich aus der ICollection<T> entfernt wurde, andernfalls false. Diese Methode gibt auch dann false zurück, wenn item nicht in der ursprünglichen ICollection<T> gefunden wurde.

Implementiert

Hinweise

Hinweis

Der System.Json Namespace wurde für Silverlight entwickelt, das nicht mehr unterstützt wird. Für die Verarbeitung von JSON wird stattdessen die Verwendung von APIs im System.Text.Json -Namespace empfohlen.

Gilt für: