다음을 통해 공유


SPLimitedWebPartManager.DeleteWebPart Method

Deletes a dynamic Web Part from the WebPartPage.

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

Syntax

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

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

Parameters

See Also

Reference

SPLimitedWebPartManager Class

SPLimitedWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace