IListWebPart.PageType 属性
获取或设置 Web 部件页面类型。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Property PageType As PAGETYPE
Get
Set
用法
Dim instance As IListWebPart
Dim value As PAGETYPE
value = instance.PageType
instance.PageType = value
PAGETYPE PageType { get; set; }
属性值
类型:Microsoft.SharePoint.PAGETYPE
标识窗体类型PAGETYPE对象。
备注
视图 Web 部件,此值通常设置为PAGE_NORMALVIEW。对于窗体的 Web 部件,这可设置为窗体页面类型 (换句话说, PAGE_DISPLAYFORM、 PAGE_EDITFORM或PAGE_NEWFORM)。