SPWebPartManager.ToolPaneErrorDisplayMode property
取得WebPartDisplayMode ,可讓在ToolPane中顯示的錯誤訊息。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared ReadOnly Property ToolPaneErrorDisplayMode As WebPartDisplayMode
Get
'用途
Dim value As WebPartDisplayMode
value = SPWebPartManager.ToolPaneErrorDisplayMode
public static WebPartDisplayMode ToolPaneErrorDisplayMode { get; }
Property value
Type: System.Web.UI.WebControls.WebParts.WebPartDisplayMode
顯示模式可以讓您在ToolPane中顯示的錯誤訊息。