SPLimitedWebPartManager.OpenWebPart method
Abre uma Web Part dinâmico que anteriormente foi fechado por CloseWebPart para que ele processa na página de Web Parts.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Sub OpenWebPart ( _
webPart As WebPart _
)
'Uso
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
instance.OpenWebPart(webPart)
public void OpenWebPart(
WebPart webPart
)
Parâmetros
- webPart
Type: System.Web.UI.WebControls.WebParts.WebPart