Dela via


ModelStateEntry.ValidationState Property

Definition

Gets or sets the ModelValidationState for this entry.

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::ModelValidationState ValidationState { Microsoft::AspNetCore::Mvc::ModelBinding::ModelValidationState get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::ModelValidationState value); };
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState ValidationState { get; set; }
member this.ValidationState : Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState with get, set
Public Property ValidationState As ModelValidationState

Property Value

Applies to