Share via


Helper.MultiChoiceCommaSeperated Method

Extracts a multi-choice string from the specified string.

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

Syntax

'Declaration
Public Shared Function MultiChoiceCommaSeperated ( _
    context As WorkflowContext, _
    val As Object _
) As String
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As String

returnValue = Helper.MultiChoiceCommaSeperated(context, _
    val)
public static string MultiChoiceCommaSeperated(
    WorkflowContext context,
    Object val
)

Parameters

  • val
    Type: System.Object

    The string containing the multi-choice values.

Return Value

Type: System.String
A string of multi-choice values separated by commas.

Remarks

This method throws a CoercionException exception if val is null or cannot be cast to a String object.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace