Dela via


Helper.AsDNString Method

Attempts to coerce a String from the specified object and workflow instance.

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

Syntax

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

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

Parameters

  • val
    Type: System.Object

    An object containing the item to be converted.

Return Value

Type: System.String
The string value.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace