IListItemService.DeleteListItem method
Deletes the specified list item.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<CorrelationInitializerAttribute> _
Sub DeleteListItem ( _
id As Guid, _
listId As Guid, _
itemId As Integer _
)
'Usage
Dim instance As IListItemService
Dim id As Guid
Dim listId As Guid
Dim itemId As Integer
instance.DeleteListItem(id, listId, itemId)
[CorrelationInitializerAttribute]
void DeleteListItem(
Guid id,
Guid listId,
int itemId
)
Parameters
id
Type: System.GuidReserved for internal use.
listId
Type: System.GuidThe ID of the list on which the item resides.
itemId
Type: System.Int32The ID of the item to delete.
Remarks
This method is used by the DeleteItemActivity class of the Microsoft.SharePoint.WorkflowActions namespace.