JsonObject.ICollection<KeyValuePair<String,JsonValue>>.Remove Método

Definição

Remove a primeira ocorrência de um objeto específico do 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

Parâmetros

item
KeyValuePair<String,JsonValue>

O objeto a remover do ICollection<T>.

Retornos

true se item tiver sido removido com êxito do ICollection<T>; caso contrário, false. Esse método também retornará false se o item não for encontrado no ICollection<T> original.

Implementações

Comentários

Observação

O System.Json namespace foi projetado para o Silverlight, que não tem mais suporte. Para processar JSON, recomendamos usar APIs no System.Text.Json namespace.

Aplica-se a