共用方式為


ModelStateDictionary.ContainsKey(String) 方法

定義

判斷唯讀字典是否包含具有指定索引鍵的項目。

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

傳回

實作

適用於