Partilhar via


Helper.DynamicString Method (Activity, String)

Produces a string from the input string based on a workflow activity.

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

Syntax

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

returnValue = Helper.DynamicString(activity, _
    str)
public static string DynamicString(
    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