Partilhar via


Helper.WILookupString Method (WorkflowContext, String)

Looks up the specified field in the given workflow context object and returns it if it is a String. Otherwise, it returns the result of the ToString() method.

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

Syntax

'Declaration
Public Shared Function WILookupString ( _
    context As WorkflowContext, _
    fieldName As String _
) As String
'Usage
Dim context As WorkflowContext
Dim fieldName As String
Dim returnValue As String

returnValue = Helper.WILookupString(context, _
    fieldName)
public static string WILookupString(
    WorkflowContext context,
    string fieldName
)

Parameters

  • fieldName
    Type: System.String

    A String value that represents the desired field value to return.

Return Value

Type: System.String
The value of the field.

See Also

Reference

Helper Class

Helper Members

WILookupString Overload

Microsoft.SharePoint.WorkflowActions Namespace