共用方式為


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

定義

如需這個成員的說明,請參閱 Contains(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>

要在字典中尋找的索引鍵和值組。

傳回

如果 true 在集合中,則為 item,否則為 false

實作

適用於

另請參閱