ModelStateDictionary.Merge(ModelStateDictionary) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定的 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要从中复制值的 。