HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.Remove メソッド

定義

特定のオブジェクトが ICollection<T> 内にあるときに、最初に出現したものを削除します。

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

パラメーター

item
KeyValuePair<String,Object>

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

戻り値

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

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 これは、HttpRequestOptions のインスタンスが ICollection<T> インターフェイスにキャストされる場合のみ、使用できます。

適用対象