ToolPart.ErrorText 属性

获取或设置要出现错误时工具部件中显示的文本。

命名空间:  Microsoft.SharePoint.WebPartPages
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property ErrorText As String
    Get
    Set
用法
Dim instance As ToolPart
Dim value As String

value = instance.ErrorText

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

属性值

类型:System.String

备注

要在工具部件中显示的错误消息。

另请参阅

引用

ToolPart 类

ToolPart 成员

Microsoft.SharePoint.WebPartPages 命名空间