ModelStateDictionary.Merge(ModelStateDictionary) 方法

定义

将指定的 dictionary 值复制到此实例中,如果键相同,则覆盖现有值。

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)

参数

dictionary
ModelStateDictionary

ModelStateDictionary要从中复制值的 。

适用于