INotifyDataErrorInfo::GetErrors Method (String^)
Gets the validation errors for a specified property or for the entire entity.
Assembly: System (in System.dll)
Return ValueType: System.Collections::IEnumerable^
The validation errors for the property or entity.
This method returns an IEnumerable that can change as asynchronous validation rules finish processing. This enables the binding engine to automatically update the user interface validation feedback when errors are added, removed, or modified.
The return value can change to a different IEnumerable, or it can reuse a previously returned IEnumerable and change its contents. Any changes to the return value should raise the ErrorsChanged event, even if the return value implements INotifyCollectionChanged.
Available since 8
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone Silverlight
Available since 7.1
Available since 8.1