DefaultModelBindingContext.ModelState Property

Definition

Gets or sets the ModelStateDictionary used to capture ModelStateEntry values for properties in the object graph of the model when binding.

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

Property Value

Applies to