Partager via


UserCustomAction.DeleteObject - Méthode

Deletes the custom action.

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Overridable Sub DeleteObject
'Utilisation
Dim instance As UserCustomAction

instance.DeleteObject()
public virtual void DeleteObject()

Exceptions

Exception Condition
[Microsoft.SharePoint.SPException]

Custom action does not exist. Error code: -2146232832. Custom action was modified on the server so changes cannot be committed. Error code: -2130575305

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891

Voir aussi

Référence

UserCustomAction classe

UserCustomAction - Membres

Microsoft.SharePoint.Client - Espace de noms