共用方式為


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

要合併到此的模型狀態字典。

適用於