ModelBindingContext.ValidationState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the ValidationStateDictionary. Used for tracking validation state to customize validation behavior for a model object.
public:
abstract 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 abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary ValidationState { get; set; }
member this.ValidationState : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary with get, set
Public MustOverride Property ValidationState As ValidationStateDictionary
Property Value
Remarks
The property setter is provided for unit testing purposes only.