Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the specified dynamic string to a string in XML format.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function DynamicStringForXml ( _
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.DynamicStringForXml(context, _
activity, str)
public static string DynamicStringForXml(
WorkflowContext context,
Activity activity,
string str
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object that represents a workflow context.
activity
Type: System.Workflow.ComponentModel.ActivityAn Activity object that represents a workflow activity associated with the dynamic string.
str
Type: System.StringA dynamic string.
Return Value
Type: System.String
A converted string in XML format.