Edit

Share via


ValidationResult.ErrorMessage Property

Definition

Gets the error message for the validation.

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

Property Value

The error message for the validation.

Remarks

You can set the ErrorMessage property to null.

Applies to