ViewDataDictionary.Contains(KeyValuePair<String,Object>) 方法

定义

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

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

参数

返回

实现

适用于