Share via


IListItemService.CheckOutListItem method

Checks out the specified list item.

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

Syntax

'Declaration
<CorrelationInitializerAttribute> _
Sub CheckOutListItem ( _
    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.CheckOutListItem(id, listId, _
    itemId)
[CorrelationInitializerAttribute]
void CheckOutListItem(
    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 CheckOutItemActivity class of the Microsoft.SharePoint.WorkflowActions namespace.

See also

Reference

IListItemService interface

IListItemService members

Microsoft.SharePoint.Workflow namespace