ModelStateDictionary.Merge(ModelStateDictionary) ModelStateDictionary.Merge(ModelStateDictionary) ModelStateDictionary.Merge(ModelStateDictionary) Method

Definition

Copies the values from the specified model-state dictionary into this ModelStateDictionary instance, overwriting existing values when the keys are the same.

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

The model-state dictionary that values are copied from.

Applies to