Compartilhar via


SPLimitedWebPartManager.DeleteWebPart method

Exclui uma Web Part dinâmico da página de Web Parts.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaração
Public Sub DeleteWebPart ( _
    webPart As WebPart _
)
'Uso
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart

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

Parâmetros

Ver também

Referência

SPLimitedWebPartManager class

SPLimitedWebPartManager members

Microsoft.SharePoint.WebPartPages namespace