 | ViewModel.PropertyHasError 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.4
Syntaxpublic virtual bool PropertyHasError(
string propertyName = null
)
Public Overridable Function PropertyHasError (
Optional propertyName As String = Nothing
) As Boolean
Dim instance As ViewModel
Dim propertyName As String
Dim returnValue As Boolean
returnValue = instance.PropertyHasError(propertyName)
public:
virtual bool PropertyHasError(
String^ propertyName = nullptr
)
abstract PropertyHasError :
?propertyName : string
(* Defaults:
let _propertyName = defaultArg propertyName null
*)
-> bool
override PropertyHasError :
?propertyName : string
(* Defaults:
let _propertyName = defaultArg propertyName null
*)
-> bool
public function PropertyHasError(
propertyName : String
) : boolean
function PropertyHasError(propertyName);
VIRTUAL METHOD PropertyHasError(
propertyName AS STRING := NULL
) AS LOGIC
Parameters
- propertyName (Optional)
- Type: System.String
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.
Implements
IViewModel.PropertyHasError(String)
See Also