共用方式為


DataFormWebPart.PageType property

取得或設定DataFormWebPart的畫面類型。

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

Syntax

'宣告
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property PageType As PAGETYPE
    Get
    Set
'用途
Dim instance As DataFormWebPart
Dim value As PAGETYPE

value = instance.PageType

instance.PageType = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public PAGETYPE PageType { get; set; }

Property value

Type: Microsoft.SharePoint.PAGETYPE
其中一個列舉值,指出頁面類型。預設值為PAGE_NORMALVIEW

Implements

IListWebPart.PageType

請參閱

參照

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace