File.GetLimitedWebPartManager 方法

Specifies the control set used to access, modify, or add Web Parts associated with this Web Part Page and view.

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

语法

声明
Public Function GetLimitedWebPartManager ( _
    scope As PersonalizationScope _
) As LimitedWebPartManager
用法
Dim instance As File
Dim scope As PersonalizationScope
Dim returnValue As LimitedWebPartManager

returnValue = instance.GetLimitedWebPartManager(scope)
public LimitedWebPartManager GetLimitedWebPartManager(
    PersonalizationScope scope
)

参数

返回值

类型:Microsoft.SharePoint.Client.WebParts.LimitedWebPartManager
Returns a LimitedWebPartManager instance representing the control set used to access, modify, or add Web Parts associated with this Web Part Page and view.

异常

异常 条件
[Microsoft.SharePoint.SPException]

URL extension must not be 空引用(无 在 Visual Basic 中) and must be ASPX. Error code: -1.

[System.ArgumentException]

URL must be an absolute address. Error code: -2147024809.

[System.ArgumentNullException]

URL must not be 空引用(无 在 Visual Basic 中). Error code: -2147467261.

[System.ArgumentOutOfRangeException]

PersonalizationScope must be valid. Error code: -2146233086.

[System.IO.FileNotFoundException]

New initialized instance of Web Part Manager must exist. Error code: -2147024894.

另请参阅

引用

File 类

File 成员

Microsoft.SharePoint.Client 命名空间