ViewDataDictionary.ContainsKey(String) 方法

定义

确定是否 IDictionary<TKey,TValue> 包含带有指定键的元素。

public:
 virtual bool ContainsKey(System::String ^ key);
public bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (key As String) As Boolean

参数

key
String

返回

实现

适用于