Helper.CustomLookupDouble Method (WorkflowContext, String, SPItemKey, String)
Retrieves the Double value of a specified field.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function CustomLookupDouble ( _
context As WorkflowContext, _
listId As String, _
listItem As SPItemKey, _
fieldName As String _
) As Double
'Usage
Dim context As WorkflowContext
Dim listId As String
Dim listItem As SPItemKey
Dim fieldName As String
Dim returnValue As Double
returnValue = Helper.CustomLookupDouble(context, _
listId, listItem, fieldName)
public static double CustomLookupDouble(
WorkflowContext context,
string listId,
SPItemKey listItem,
string fieldName
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object that contains properties that are associated with the active workflow instance.
listId
Type: System.StringA string value representing the GUID of the list. This value may also be the list display name.
listItem
Type: Microsoft.SharePoint.Workflow.SPItemKeyAn integer that represents a specific list item.
fieldName
Type: System.StringA string representing a specific field name on the list.
Return Value
Type: System.Double
The double-precision floating-point value of the field.