ModelStateEntry.ValidationState 属性

定义

获取或设置 ModelValidationState 此项的 。

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

属性值

适用于