WorkflowContext.GetMatchFromCache Method

Iterates through expired cache values and returns the first match found.

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

Syntax

'Declaration
Public Function GetMatchFromCache ( _
    list As SPList, _
    fieldname As String, _
    value As Object _
) As SPItemKey
'Usage
Dim instance As WorkflowContext
Dim list As SPList
Dim fieldname As String
Dim value As Object
Dim returnValue As SPItemKey

returnValue = instance.GetMatchFromCache(list, _
    fieldname, value)
public SPItemKey GetMatchFromCache(
    SPList list,
    string fieldname,
    Object value
)

Parameters

  • list
    Type: Microsoft.SharePoint.SPList

    An SPList object. Specifies the list that contains the field to check for the specified value.

  • fieldname
    Type: System.String

    A string that represents the field name to check.

  • value
    Type: System.Object

    The value to search for in the expired cache field values. This value is an object.

Return Value

Type: Microsoft.SharePoint.Workflow.SPItemKey
The first match that is found.

See Also

Reference

WorkflowContext Class

WorkflowContext Members

Microsoft.SharePoint.WorkflowActions Namespace