Share via


SPFileVersion.GetLimitedWebPartManager Method

Returns the WebPartManager object that is associated with this version of the Web Part Page.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Function GetLimitedWebPartManager As SPLimitedWebPartManager
'Usage
Dim instance As SPFileVersion
Dim returnValue As SPLimitedWebPartManager

returnValue = instance.GetLimitedWebPartManager()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public SPLimitedWebPartManager GetLimitedWebPartManager()

Return Value

Type: Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager
SPLimitedWebPartManager
The control for managing Web Part controls. If the file is not an ASPX page an exception is thrown.

See Also

Reference

SPFileVersion Class

SPFileVersion Members

Microsoft.SharePoint Namespace