WebPart.ImportErrorMessage property

Error Message to use if an error occurs when a Webpart is imported.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.None)> _
Public Overrides Property ImportErrorMessage As String
    Get
    Set
'Usage
Dim instance As WebPart
Dim value As String

value = instance.ImportErrorMessage

instance.ImportErrorMessage = value
[WebPartStorageAttribute(Storage.None)]
public override string ImportErrorMessage { get; set; }

Property value

Type: System.String

See also

Reference

WebPart class

WebPart members

Microsoft.SharePoint.WebPartPages namespace