Share via


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.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Sub Merge ( _
    dictionary As ModelStateDictionary _
)
'Usage
Dim instance As ModelStateDictionary
Dim dictionary As ModelStateDictionary

instance.Merge(dictionary)
public void Merge(
    ModelStateDictionary dictionary
)
public:
void Merge(
    ModelStateDictionary^ dictionary
)
member Merge : 
        dictionary:ModelStateDictionary -> unit 
public function Merge(
    dictionary : ModelStateDictionary
)

Parameters

See Also

Reference

ModelStateDictionary Class

System.Web.Http.ModelBinding Namespace