Compartilhar via


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

  • listItem
    Type: System.Int32

    The integer of the list item whose value is cached.

  • fieldname
    Type: System.String

    A string that represents the name of the field that is cached.

  • theval
    Type: System.Object

    The value of the specified list, list item, and field that is written to the cache.

See Also

Reference

WorkflowContext Class

WorkflowContext Members

Microsoft.SharePoint.WorkflowActions Namespace