Share via


Helper.AsDNSPItemKey method

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

returnValue = Helper.AsDNSPItemKey(context, _
    val)
public static SPItemKey AsDNSPItemKey(
    WorkflowContext context,
    Object val
)

Parameters

Return value

Type: Microsoft.SharePoint.Workflow.SPItemKey
The list item.

See also

Reference

Helper class

Helper members

Microsoft.SharePoint.WorkflowActions namespace