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>

要在字典中查找的键和值对。

返回

Boolean

如果 true 位于集合中,则为 item;否则为 false

实现

适用于

另请参阅