DelegateValidationControl.ErrorMessage Property
This member is reserved for internal use and is not intended to be used directly from your code.Gets or sets the validation error message displayed by the control. When the property is set, the specified value is appended to the current error message string and the value for the EncodedErrorMessage property is set to match. Specifying a null reference (Nothing in Visual Basic) for the value of the property clears the error message.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Property ErrorMessage As String
Get
Set
'Usage
Dim instance As DelegateValidationControl
Dim value As String
value = instance.ErrorMessage
instance.ErrorMessage = value
public string ErrorMessage { get; set; }
Property Value
Type: System.String
The String object that represents the error message to append to the end of the current error message, or a null reference (Nothing in Visual Basic) to clear the value of the validation error message displayed by the control.
See Also
Reference
DelegateValidationControl Class