Share via


Helper.LookupDouble method (WorkflowContext, String, SPItemKey, String)

Retrieves the value of a field for a specified SharePoint Foundation item in a specified list.

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

Syntax

'Declaration
Public Shared Function LookupDouble ( _
    context As WorkflowContext, _
    listIdOrName As String, _
    listItem As SPItemKey, _
    fieldName As String _
) As Double
'Usage
Dim context As WorkflowContext
Dim listIdOrName As String
Dim listItem As SPItemKey
Dim fieldName As String
Dim returnValue As Double

returnValue = Helper.LookupDouble(context, _
    listIdOrName, listItem, fieldName)
public static double LookupDouble(
    WorkflowContext context,
    string listIdOrName,
    SPItemKey listItem,
    string fieldName
)

Parameters

  • listIdOrName
    Type: System.String

    The GUID or display name of the list.

  • fieldName
    Type: System.String

    The name of the field for the specified item in the specified list from which to retrieve a value.

Return value

Type: System.Double
The value that is retrieved from the specified field for the specified item in the specified list.

Remarks

This method retrieves the value of a field for a specified item in a specified list.

See also

Reference

Helper class

Helper members

LookupDouble overload

Microsoft.SharePoint.WorkflowActions namespace