ModelBinderDictionary.ContainsKey(Type) 方法
定义
确定模型联编程序字典是否包含具有指定的键的元素。Determines whether the model binder dictionary contains an element that has the specified key.
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
要搜索的键。The key to search for.
返回
如果找到 true,则为 key;否则为 false。true if key is found; otherwise, false.