ModelBinderDictionary.ContainsKey(Type) 方法

定義

判斷模型繫結器字典是否包含具有指定之索引鍵的項目。

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

參數

key
Type

要搜尋的索引鍵。

傳回

Boolean

如果找到 true 則為 key,否則為 false

實作

適用於