Delen via


Helper.AsDNDateTime Method

Attempts to coerce a DateTime object 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 AsDNDateTime ( _
    context As WorkflowContext, _
    val As Object _
) As DateTime
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As DateTime

returnValue = Helper.AsDNDateTime(context, _
    val)
public static DateTime AsDNDateTime(
    WorkflowContext context,
    Object val
)

Parameters

Return Value

Type: System.DateTime
The instant in time.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace