IListItemByKeyService.UpdateListItem method
Updates a specified list item’s properties.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<CorrelationInitializerAttribute> _
Sub UpdateListItem ( _
id As Guid, _
listId As Guid, _
itemKey As SPItemKey, _
itemProperties As Hashtable _
)
'Usage
Dim instance As IListItemByKeyService
Dim id As Guid
Dim listId As Guid
Dim itemKey As SPItemKey
Dim itemProperties As Hashtable
instance.UpdateListItem(id, listId, itemKey, _
itemProperties)
[CorrelationInitializerAttribute]
void UpdateListItem(
Guid id,
Guid listId,
SPItemKey itemKey,
Hashtable itemProperties
)
Parameters
id
Type: System.GuidCorrelation ID of the update operation.
listId
Type: System.GuidThe ID of the list containing the item to update.
itemKey
Type: Microsoft.SharePoint.Workflow.SPItemKeyThe SPItemKey of the item being updated.
itemProperties
Type: System.Collections.HashtableA Hashtable containing properties to update for the specified list item.