ModelStateDictionary.Merge(ModelStateDictionary) 方法

定义

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

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

参数

dictionary
ModelStateDictionary

要合并入此的模型状态字典。

适用于