Dela via


Helper.HTLookupFriendlyString Method

Gets the string 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 HTLookupFriendlyString ( _
    context As WorkflowContext, _
    collection As Hashtable, _
    fieldName As String _
) As String
'Usage
Dim context As WorkflowContext
Dim collection As Hashtable
Dim fieldName As String
Dim returnValue As String

returnValue = Helper.HTLookupFriendlyString(context, _
    collection, fieldName)
public static string HTLookupFriendlyString(
    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.String
The string value of the specified field in the specified hash table.

Remarks

This method returns null if the value is null or cannot be found in collection.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace