ValueProviderDictionary.Contains 方法

定义

确定值提供程序的集合是否包含指定的项。

public bool Contains (System.Collections.Generic.KeyValuePair<string,System.Web.Mvc.ValueProviderResult> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, System.Web.Mvc.ValueProviderResult> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, System.Web.Mvc.ValueProviderResult> -> bool
Public Function Contains (item As KeyValuePair(Of String, ValueProviderResult)) As Boolean

参数

item
KeyValuePair<String,ValueProviderResult>

在 实例中查找的对象 ICollection<T>

返回

如果在值提供程序的集合中找到 ,则 item 为 true;否则为 false。

实现

适用于