共用方式為


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。

實作

適用於