Helper.Find Method (WorkflowContext, Guid, Int32, String, Guid, String)
Finds the field value of an external list that matches an associated field, list, and list item by using the GUID of the associated list identifier (ID).
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function Find ( _
context As WorkflowContext, _
listId As Guid, _
listItem As Integer, _
fieldNameInAssociated As String, _
externalListId As Guid, _
fieldNameInExternal As String _
) As Integer
'Usage
Dim context As WorkflowContext
Dim listId As Guid
Dim listItem As Integer
Dim fieldNameInAssociated As String
Dim externalListId As Guid
Dim fieldNameInExternal As String
Dim returnValue As Integer
returnValue = Helper.Find(context, _
listId, listItem, fieldNameInAssociated, _
externalListId, fieldNameInExternal)
public static int Find(
WorkflowContext context,
Guid listId,
int listItem,
string fieldNameInAssociated,
Guid externalListId,
string fieldNameInExternal
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextWorkflowContext object that contains properties that are associated with the active workflow instance.
listId
Type: System.GuidA string that represents the GUID of the SharePoint Foundation list ID. May also be the display name of the list.
listItem
Type: System.Int32An integer that represents the SharePoint Foundation list item in a specified list.
fieldNameInAssociated
Type: System.StringA string that represents the field name in the associated list.
externalListId
Type: System.GuidA string that represents the GUID that corresponds to the external list ID or the external list display name.
fieldNameInExternal
Type: System.StringA string that represents the field name in the external list
Return Value
Type: System.Int32
An integer that represents the item ID from the external list.