ErrorMessage Property (ExpressionValidation)
- Last UpdatedNov 06, 2025
- 1 minute read
Allows you to specify a custom error message that will be thrown if the validation fails
'Declaration
<XmlAttributeAttribute("ErrorMessage")>
Public Property ErrorMessage As String
'Usage
Dim instance As ExpressionValidation
Dim value As String
instance.ErrorMessage = value
value = instance.ErrorMessage
[XmlAttribute("ErrorMessage")]
public string ErrorMessage {get; set;}