Helper.WILookupFriendlyString Method (WorkflowContext, String, Int32, String)
Looks up the value of the specified field and workflow context. Results are filtered based on the values specified in ignorestr and ignoreint.
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, _
ignoreint As Integer, _
fieldName As String _
) As String
'Usage
Dim context As WorkflowContext
Dim ignorestr As String
Dim ignoreint As Integer
Dim fieldName As String
Dim returnValue As String
returnValue = Helper.WILookupFriendlyString(context, _
ignorestr, ignoreint, fieldName)
public static string WILookupFriendlyString(
WorkflowContext context,
string ignorestr,
int ignoreint,
string fieldName
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object that contains properties that are associated with the active workflow instance.
ignorestr
Type: System.StringA String that is ignored when returning results.
ignoreint
Type: System.Int32An Int32 that is ignored when returning results.
fieldName
Type: System.StringA String value that represents the desired field value to return.
Return Value
Type: System.String
The value of the field.