 | IViewModel.GetPropertyErrors Method |
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
Namespace:
BionicCode.Utilities.Net.Standard.ViewModel
Assembly:
BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.4
Syntaxabstract GetPropertyErrors :
?propertyName : string
(* Defaults:
let _propertyName = defaultArg propertyName null
*)
-> IEnumerable<string>
function GetPropertyErrors(propertyName);
Parameters
- propertyName (Optional)
- Type: System.String
The of the property of which the error messages should be returned.
Return Value
Type:
IEnumerable<String>Returns an
IEnumerable<T> containing all error messages of the specified property.
RemarksIf the propertyName is null all current error messages will be returned.
See Also