Edytuj

Udostępnij za pośrednictwem


ObservableValidator.ClearErrors(String) Method

Definition

Clears the validation errors for a specified property or for the entire entity.

protected void ClearErrors (string? propertyName = default);
member this.ClearErrors : string -> unit
Protected Sub ClearErrors (Optional propertyName As String = Nothing)

Parameters

propertyName
String

The name of the property to clear validation errors for. If a null or empty name is used, all entity-level errors will be cleared.

Applies to