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>中删除的对象。

返回

如果 已成功从 /> 中删除,则为 ;否则为 。 如果在原始false方法中找不到,此方法也会返回。itemICollection<T>

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为HttpRequestOptions接口时ICollection<T>,才能使用它。

适用于