WorkflowContext.CacheNoLongerMatches Method

Used to determine if a cached value is still valid and whether it has been updated in the database.

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

Syntax

'Declaration
Public Function CacheNoLongerMatches ( _
    list As SPList, _
    listItem As Integer, _
    fieldname As String, _
    value As Object _
) As Boolean
'Usage
Dim instance As WorkflowContext
Dim list As SPList
Dim listItem As Integer
Dim fieldname As String
Dim value As Object
Dim returnValue As Boolean

returnValue = instance.CacheNoLongerMatches(list, _
    listItem, fieldname, value)
public bool CacheNoLongerMatches(
    SPList list,
    int listItem,
    string fieldname,
    Object value
)

Parameters

  • listItem
    Type: System.Int32

    The integer of the list item whose cached value will be checked.

  • fieldname
    Type: System.String

    A string that represents the field name of the cached field value that will be verified.

  • value
    Type: System.Object

    The value that is used to verify the cached field value.

Return Value

Type: System.Boolean
A value that indicates whether a specified cached field value still matches the field value contained in the database.

See Also

Reference

WorkflowContext Class

WorkflowContext Members

Microsoft.SharePoint.WorkflowActions Namespace