AdditionalPropertiesDictionary<TValue>.ICollection<KeyValuePair<String,TValue>>.Remove メソッド

定義

特定のオブジェクトの最初の出現箇所を ICollection<T>から削除します。

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

パラメーター

item
KeyValuePair<String,TValue>

ICollection<T>から削除するオブジェクト。

返品

true itemICollection<T>から正常に削除された場合は。それ以外の場合はfalse。 このメソッドは、元のfalseitemが見つからない場合にもICollection<T>を返します。

実装

適用対象