JsonObject.ICollection<KeyValuePair<String,JsonValue>>.Remove 메서드

정의

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

매개 변수

item
KeyValuePair<String,JsonValue>

ICollection<T>에서 제거할 개체입니다.

반환

trueitem에서 제거되면 ICollection<T>이고, 그렇지 않으면 false입니다. 이 메서드는 false이 원래 item에 없는 경우에도 ICollection<T>를 반환합니다.

구현

설명

참고

네임스페이 System.Json 스는 더 이상 지원되지 않는 Silverlight용으로 설계되었습니다. JSON 처리를 위해 대신 네임스페이스에서 API를 System.Text.Json 사용하는 것이 좋습니다.

적용 대상