Delen via


Helper.UseItemKey Method

Coerces a Object to an SPItemKey using AsSPItemKeyExceptNullNoConvert(WorkflowContext, Object).

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

Syntax

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

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

Parameters

Return Value

Type: System.String
The key that identifies the list item.

See Also

Reference

Helper Class

Helper Members

Microsoft.SharePoint.WorkflowActions Namespace