Helper.ToSPItemKey Method
Coerces an object into an SPItemKey object.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Shared Function ToSPItemKey ( _
context As WorkflowContext, _
val As Object _
) As SPItemKey
'Usage
Dim context As WorkflowContext
Dim val As Object
Dim returnValue As SPItemKey
returnValue = Helper.ToSPItemKey(context, _
val)
public static SPItemKey ToSPItemKey(
WorkflowContext context,
Object val
)
Parameters
context
Type: Microsoft.SharePoint.WorkflowActions.WorkflowContextA WorkflowContext object that contains properties that are associated with the active workflow instance.
val
Type: System.ObjectA Object.
Return Value
Type: Microsoft.SharePoint.Workflow.SPItemKey
The list item.