Partilhar via


Helper.DynamicString Method (WorkflowContext, Activity, String)

Produces a string from the input string, based on a workflow context and workflow activity.

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

Syntax

'Declaration
Public Shared Function DynamicString ( _
    context As WorkflowContext, _
    activity As Activity, _
    str As String _
) As String
'Usage
Dim context As WorkflowContext
Dim activity As Activity
Dim str As String
Dim returnValue As String

returnValue = Helper.DynamicString(context, _
    activity, str)
public static string DynamicString(
    WorkflowContext context,
    Activity activity,
    string str
)

Parameters

Return Value

Type: System.String
A string with the variables in the input string replaced by their values.

Remarks

The variables in the input string are of the format “[%var %]”, where var is the name of an activity field or property.

See Also

Reference

Helper Class

Helper Members

DynamicString Overload

Microsoft.SharePoint.WorkflowActions Namespace