Share via


IListItemService.UpdateDocument method

Updates the specified document.

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

Syntax

'Declaration
<CorrelationInitializerAttribute> _
Sub UpdateDocument ( _
    id As Guid, _
    listId As Guid, _
    itemId As Integer, _
    itemProperties As Hashtable, _
    overwriteFromTemplate As Boolean, _
    fileContents As Byte() _
)
'Usage
Dim instance As IListItemService
Dim id As Guid
Dim listId As Guid
Dim itemId As Integer
Dim itemProperties As Hashtable
Dim overwriteFromTemplate As Boolean
Dim fileContents As Byte()

instance.UpdateDocument(id, listId, itemId, _
    itemProperties, overwriteFromTemplate, _
    fileContents)
[CorrelationInitializerAttribute]
void UpdateDocument(
    Guid id,
    Guid listId,
    int itemId,
    Hashtable itemProperties,
    bool overwriteFromTemplate,
    byte[] fileContents
)

Parameters

  • listId
    Type: System.Guid

    The ID of the list on which the document resides.

  • fileContents
    Type: []

    The updated contents of the document.

See also

Reference

IListItemService interface

IListItemService members

Microsoft.SharePoint.Workflow namespace