Share via


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

  • listId
    Type: System.Guid

    The ID of the list on which the item resides.

Remarks

This method is used by the DeleteItemActivity class of the Microsoft.SharePoint.WorkflowActions namespace.

See also

Reference

IListItemService interface

IListItemService members

Microsoft.SharePoint.Workflow namespace