共用方式為


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

屬性值

適用於