ControllerBase.ModelState Propriété

Définition

Obtient le ModelStateDictionary qui contient l’état du modèle et de la validation de liaison de modèle.

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ ModelState { Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateDictionary ^ get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary ModelState { get; }
member this.ModelState : Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary
Public ReadOnly Property ModelState As ModelStateDictionary

Valeur de propriété

S’applique à