Share via


ToolPart.ErrorText property

Gets or sets the text to display in the tool part when an error occurs.

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

Syntax

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

value = instance.ErrorText

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

Property value

Type: System.String

Remarks

The error message to display in the tool part.

See also

Reference

ToolPart class

ToolPart members

Microsoft.SharePoint.WebPartPages namespace