SPWeb.GetLimitedWebPartManager 方法

Returns the limited Web Part Manager for the specified Web Part page and view.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Function GetLimitedWebPartManager ( _
    fullOrRelativeUrl As String, _
    scope As PersonalizationScope _
) As SPLimitedWebPartManager
用法
Dim instance As SPWeb
Dim fullOrRelativeUrl As String
Dim scope As PersonalizationScope
Dim returnValue As SPLimitedWebPartManager

returnValue = instance.GetLimitedWebPartManager(fullOrRelativeUrl, _
    scope)
public SPLimitedWebPartManager GetLimitedWebPartManager(
    string fullOrRelativeUrl,
    PersonalizationScope scope
)

参数

  • fullOrRelativeUrl
    类型:System.String

    A string that contains the URL of the Web Part page that is associated with the Web Part Manager.

返回值

类型:Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager
An SPLimitedWebPartManager object that represents the Web Part Manager.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间