Dela via


DefaultModelBindingContext.ValidationState Property

Definition

Gets or sets the ValidationStateDictionary. Used for tracking validation state to customize validation behavior for a model object.

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

Property Value

Applies to