共用方式為


ModelStateDictionary.ValidationState 屬性

定義

System.Object.ValidationState
public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::ModelValidationState ValidationState { Microsoft::AspNetCore::Mvc::ModelBinding::ModelValidationState get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState ValidationState { get; }
member this.ValidationState : Microsoft.AspNetCore.Mvc.ModelBinding.ModelValidationState
Public ReadOnly Property ValidationState As ModelValidationState

屬性值

適用於