Partilhar via


DefaultModelBindingContext.ModelState Propriedade

Definição

Obtém ou define o ModelStateDictionary usado para capturar ModelStateEntry valores para propriedades no grafo de objeto do modelo ao associar.

public:
 virtual property Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ ModelState { Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ value); };
public override Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary ModelState { get; set; }
member this.ModelState : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary with get, set
Public Overrides Property ModelState As ModelStateDictionary

Valor da propriedade

Aplica-se a