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.StringA string that contains the URL of the Web Part page that is associated with the Web Part Manager.
scope
类型:System.Web.UI.WebControls.WebParts.PersonalizationScopeA PersonalizationScope value that specifies how the Web Parts are viewed on the Web Part page.
返回值
类型:Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager
An SPLimitedWebPartManager object that represents the Web Part Manager.