共用方式為


DeleteItemButton.DeleteItem Method

Deletes the current list item that is associated with the form.

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

Syntax

'Declaration
Protected Overridable Sub DeleteItem
'Usage

Me.DeleteItem()
protected virtual void DeleteItem()

Remarks

The item deleted is the item that is associated with the form where the Delete Item button exists.

See Also

Reference

DeleteItemButton Class

DeleteItemButton Members

Microsoft.SharePoint.WebControls Namespace