語言

HttpRequestOptions.ICollection<KeyValuePair<String,Object>>.Contains 方法

定義

判斷是否 ICollection<T> 包含特定值。

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

參數

item
KeyValuePair<String,Object>

要定位於 ICollection<T>的物件。

傳回

true 若 item 在 中; ICollection<T>否則, false。

實作

備註

此成員為明確介面成員實作。 它只能在實 HttpRequestOptions 例投射到 ICollection<T> 介面時使用。

適用於