Partilhar via


Helper.WILookupFriendlyString Method (WorkflowContext, String, SPItemKey, String)

Looks up the specified field in the given workflow context and returns a String containing the value of the field based on the exclusions specified.

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

Syntax

'Declaration
Public Shared Function WILookupFriendlyString ( _
    context As WorkflowContext, _
    ignorestr As String, _
    ignoreitemkey As SPItemKey, _
    fieldName As String _
) As String
'Usage
Dim context As WorkflowContext
Dim ignorestr As String
Dim ignoreitemkey As SPItemKey
Dim fieldName As String
Dim returnValue As String

returnValue = Helper.WILookupFriendlyString(context, _
    ignorestr, ignoreitemkey, fieldName)
public static string WILookupFriendlyString(
    WorkflowContext context,
    string ignorestr,
    SPItemKey ignoreitemkey,
    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

WILookupFriendlyString Overload

Microsoft.SharePoint.WorkflowActions Namespace