Share via


Helper.HTLookupDouble method

Gets the double-precision 64-bit floating-point value of the specified field in the specified hash table.

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

Syntax

'Declaration
Public Shared Function HTLookupDouble ( _
    context As WorkflowContext, _
    collection As Hashtable, _
    fieldName As String _
) As Double
'Usage
Dim context As WorkflowContext
Dim collection As Hashtable
Dim fieldName As String
Dim returnValue As Double

returnValue = Helper.HTLookupDouble(context, _
    collection, fieldName)
public static double HTLookupDouble(
    WorkflowContext context,
    Hashtable collection,
    string fieldName
)

Parameters

  • fieldName
    Type: System.String

    The name of the field to look up in collection.

Return value

Type: System.Double
The value of the specified field in the specified hash table.

Remarks

This method returns 0.0 if the value cannot be found in the collection or not convertible to Double.

See also

Reference

Helper class

Helper members

Microsoft.SharePoint.WorkflowActions namespace