ModelStateDictionary.Merge(ModelStateDictionary) 方法

定义

将指定 ModelStateDictionary 对象中的值复制到此字典中,如果键相同,则覆盖现有值。

public void Merge (System.Web.Mvc.ModelStateDictionary dictionary);
member this.Merge : System.Web.Mvc.ModelStateDictionary -> unit
Public Sub Merge (dictionary As ModelStateDictionary)

参数

dictionary
ModelStateDictionary

字典。

适用于