다음을 통해 공유


SPLimitedWebPartManager.OpenWebPart Method

Opens a dynamic Web Part that was previously closed by CloseWebPart so it renders on the WebPartPage.

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

Syntax

'Declaration
Public Sub OpenWebPart ( _
    webPart As WebPart _
)
'Usage
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart

instance.OpenWebPart(webPart)
public void OpenWebPart(
    WebPart webPart
)

Parameters

See Also

Reference

SPLimitedWebPartManager Class

SPLimitedWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace