SPWebPartManager.GetDisplayMode method
傳回包含 Web 組件控制項的網頁的顯示模式。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function GetDisplayMode As WebPartDisplayMode
'用途
Dim instance As SPWebPartManager
Dim returnValue As WebPartDisplayMode
returnValue = instance.GetDisplayMode()
public WebPartDisplayMode GetDisplayMode()
傳回值
Type: System.Web.UI.WebControls.WebParts.WebPartDisplayMode
Web Parts page顯示模式。
Exceptions
Exception | Condition |
---|---|
ArgumentException | 無法定義窗格類別檢視屬性的設定。 |
備註
預設值為a null reference (Nothing in Visual Basic)。