共用方式為


SPUserCustomAction.Delete method

刪除自訂動作。

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

Syntax

'宣告
Public Overridable Sub Delete
'用途
Dim instance As SPUserCustomAction

instance.Delete()
public virtual void Delete()

Exceptions

Exception Condition
UnauthorizedAccessException

使用者沒有刪除自訂動作的權限。

SPException

與另一位使用者所做的並行變更衝突。

-或-

無法刪除自訂動作。

請參閱

參照

SPUserCustomAction class

SPUserCustomAction members

Delete overload

Microsoft.SharePoint namespace