Share via


InputFormTextBox.ErrorMessage property

Gets or sets the error message text for the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ErrorMessage As String
    Get
    Set
'Usage
Dim instance As InputFormTextBox
Dim value As String

value = instance.ErrorMessage

instance.ErrorMessage = value
public string ErrorMessage { get; set; }

Property value

Type: System.String
A string that contains the error message text for the control.

Implements

IValidator.ErrorMessage

See also

Reference

InputFormTextBox class

InputFormTextBox members

Microsoft.SharePoint.WebControls namespace