SPItemKey Class

Encapsulates information that identifies a list item.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Workflow.SPItemKey

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SerializableAttribute> _
<ProxyTypeConverterAttribute(GetType(StringConverter))> _
<NoNameChangeOnRemoteAuthoringAttribute> _
Public NotInheritable Class SPItemKey
'Usage
Dim instance As SPItemKey
[SerializableAttribute]
[ProxyTypeConverterAttribute(typeof(StringConverter))]
[NoNameChangeOnRemoteAuthoringAttribute]
public sealed class SPItemKey

Remarks

The SPItemKey class encapsulates information that can be used to identify a list item, including items from a list that has an external data source. For example. an instance of this type can be used to retrieve a list item by calling the GetListItem(SPList, SPItemKey) method of the WorkflowContext class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPItemKey Members

Microsoft.SharePoint.Workflow Namespace

GetListItem(SPList, SPItemKey)