ListViewWebPart.PageType property
取得或設定ListViewWebPart的畫面類型。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
<WebBrowsableAttribute(False)> _
Public Property PageType As PAGETYPE
Get
Set
'用途
Dim instance As ListViewWebPart
Dim value As PAGETYPE
value = instance.PageType
instance.PageType = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
[WebBrowsableAttribute(false)]
public PAGETYPE PageType { get; set; }
Property value
Type: Microsoft.SharePoint.PAGETYPE
其中一個列舉值,指出頁面類型。預設值是PAGE_NORMALVIEW。