Freigeben über


ModelStateDictionary.Merge Method

Copies the values from the specified ModelStateDictionary object into this dictionary, overwriting existing values if keys are the same.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Sub Merge ( _
    dictionary As ModelStateDictionary _
)
public void Merge(
    ModelStateDictionary dictionary
)
public:
void Merge(
    ModelStateDictionary^ dictionary
)

Parameters

See Also

Reference

ModelStateDictionary Class

System.Web.Mvc Namespace