Partilhar via


IListItemByKeyService.DeleteListItem Method

Deletes the specified item from the specified list.

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

Syntax

'Declaration
<CorrelationInitializerAttribute> _
Sub DeleteListItem ( _
    id As Guid, _
    listId As Guid, _
    itemKey As SPItemKey _
)
'Usage
Dim instance As IListItemByKeyService
Dim id As Guid
Dim listId As Guid
Dim itemKey As SPItemKey

instance.DeleteListItem(id, listId, itemKey)
[CorrelationInitializerAttribute]
void DeleteListItem(
    Guid id,
    Guid listId,
    SPItemKey itemKey
)

Parameters

  • id
    Type: System.Guid

    Correlation id of the delete operation

  • listId
    Type: System.Guid

    The ID of the list containing the item to delete.

See Also

Reference

IListItemByKeyService Interface

IListItemByKeyService Members

Microsoft.SharePoint.Workflow Namespace