SPLimitedWebPartManager.DeleteWebPart - Méthode
Supprime un composant WebPart dynamiques à partir de la page de composants WebPart.
Espace de noms : Microsoft.SharePoint.WebPartPages
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Sub DeleteWebPart ( _
webPart As WebPart _
)
'Utilisation
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
instance.DeleteWebPart(webPart)
public void DeleteWebPart(
WebPart webPart
)
Paramètres
- webPart
Type : System.Web.UI.WebControls.WebParts.WebPart
Voir aussi
Référence
SPLimitedWebPartManager classe