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)
Available in Sandboxed Solutions: No

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