Helper.LookupDouble Method (WorkflowContext, Guid, SPItemKey, String)
Retrieves the value of a field for the specified SharePoint Foundation list item.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function LookupDouble ( _
context As WorkflowContext, _
listId As Guid, _
listItem As SPItemKey, _
fieldName As String _
) As Double
'Usage
Dim context As WorkflowContext
Dim listId As Guid
Dim listItem As SPItemKey
Dim fieldName As String
Dim returnValue As Double
returnValue = Helper.LookupDouble(context, _
listId, listItem, fieldName)
public static double LookupDouble(
WorkflowContext context,
Guid listId,
SPItemKey listItem,
string fieldName
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA workflow context that contains properties that are associated with the active workflow instance.
listId
Type: System.GuidThe GUID of the list.
listItem
Type: Microsoft.SharePoint.Workflow.SPItemKeyThe list item in the specified list.
fieldName
Type: System.StringThe name of the field for the specified list item in the specified list from which to retrieve the value.
Return Value
Type: System.Double
A value that is retrieved from the specified field of the specified list item.
Remarks
This method gets the value of the specified field for the specified item in the list.