WorkflowContext.CacheFieldValue Method
Field value that is written to the cache before it is committed to the database.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Sub CacheFieldValue ( _
list As SPList, _
listItem As Integer, _
fieldname As String, _
theval As Object _
)
'Usage
Dim instance As WorkflowContext
Dim list As SPList
Dim listItem As Integer
Dim fieldname As String
Dim theval As Object
instance.CacheFieldValue(list, listItem, _
fieldname, theval)
public void CacheFieldValue(
SPList list,
int listItem,
string fieldname,
Object theval
)
Parameters
list
Type: Microsoft.SharePoint.SPListAn SPList object. Specifies the list where the list item whose value is cached resides.
listItem
Type: System.Int32The integer of the list item whose value is cached.
fieldname
Type: System.StringA string that represents the name of the field that is cached.
theval
Type: System.ObjectThe value of the specified list, list item, and field that is written to the cache.