ObservableValidator.ClearErrors(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.