| IViewModelGetPropertyErrors 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.3
Syntax abstract GetPropertyErrors :
?propertyName : string
(* Defaults:
let _propertyName = defaultArg propertyName null
*)
-> IEnumerable<string>
function GetPropertyErrors(propertyName);
Parameters
- propertyName (Optional)
- Type: SystemString
The of the property of which the error messages should be returned.
Return Value
Type:
IEnumerableStringReturns an
IEnumerableT containing all error messages of the specified property.
Remarks If the propertyName is null all current error messages will be returned.
See Also