ValidationResult.ErrorMessage 屬性

定義

取得驗證的錯誤訊息。

public:
 property System::String ^ ErrorMessage { System::String ^ get(); void set(System::String ^ value); };
public string ErrorMessage { get; set; }
public string? ErrorMessage { get; set; }
member this.ErrorMessage : string with get, set
Public Property ErrorMessage As String

屬性值

驗證的錯誤訊息。

備註

您可以將 屬性設定 ErrorMessagenull

適用於