ModelStateDictionary.Merge(ModelStateDictionary) Metoda

Definice

Zkopíruje hodnoty ze zadané dictionary instance do této instance a přepíše existující hodnoty, pokud jsou klíče stejné.

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

Parametry

dictionary
ModelStateDictionary

Hodnota ModelStateDictionary , ze které chcete kopírovat hodnoty.

Platí pro