WorkflowContext.CacheUnsavedListItem Method
Caches an unsaved list item before it is committed to the database.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Sub CacheUnsavedListItem ( _
list As SPList, _
listItem As Integer, _
properties As Hashtable _
)
'Usage
Dim instance As WorkflowContext
Dim list As SPList
Dim listItem As Integer
Dim properties As Hashtable
instance.CacheUnsavedListItem(list, listItem, _
properties)
public void CacheUnsavedListItem(
SPList list,
int listItem,
Hashtable properties
)
Parameters
list
Type: Microsoft.SharePoint.SPListAn SPList object. Specifies the containing list of the unsaved list item to cache.
listItem
Type: System.Int32The integer of the unsaved list item to cache.
properties
Type: System.Collections.HashtableA hash table that contains properties that will be cached for the specified list item.