DataAnnotationsModelValidator.ErrorMessage 屬性

定義

取得驗證失敗的錯誤訊息。

protected internal string ErrorMessage { get; }
member this.ErrorMessage : string
Protected Friend ReadOnly Property ErrorMessage As String

屬性值

驗證失敗的錯誤訊息。

適用於