| IViewModelPropertyHasError Method |
Checks whether the specified property has errors or is valid.
Namespace:
BionicCode.Utilities.Net.Standard.ViewModel
Assembly:
BionicCode.Utilities.Net.Standard (in BionicCode.Utilities.Net.Standard.dll) Version: 1.0.3
Syntax bool PropertyHasError(
string propertyName = null
)
Function PropertyHasError (
Optional propertyName As String = Nothing
) As Boolean
Dim instance As IViewModel
Dim propertyName As String
Dim returnValue As Boolean
returnValue = instance.PropertyHasError(propertyName)
bool PropertyHasError(
String^ propertyName = nullptr
)
abstract PropertyHasError :
?propertyName : string
(* Defaults:
let _propertyName = defaultArg propertyName null
*)
-> bool
function PropertyHasError(propertyName);
METHOD PropertyHasError(
propertyName AS STRING := NULL
) AS LOGIC
Parameters
- propertyName (Optional)
- Type: SystemString
The name of the property to check for errors.
Return Value
Type:
Booleantrue when the specified property has at least one error. Otherwise
false when the property is valid.
See Also