PageLevelError.ErrorText Property

Gets or sets the text that is sent to the web browser for display. This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Property ErrorText As String
    Get
    Set
'Usage
Dim instance As PageLevelError
Dim value As String

value = instance.ErrorText

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

Property Value

Type: System.String
A string that represents the text that is sent to the web browser for display.

Remarks

Setting ErrorText will add the string to the end of any existing error text messages. When setting ErrorText, the EncodedErrorText property is also set to the encoded version of ErrorText.

See Also

Reference

PageLevelError Class

PageLevelError Members

Microsoft.SharePoint.Portal.WebControls Namespace