SPItemKey.Key property

Gets or sets a key that identifies a list item.

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

Syntax

'Declaration
Public Property Key As String
    Get
    Set
'Usage
Dim instance As SPItemKey
Dim value As String

value = instance.Key

instance.Key = value
public string Key { get; set; }

Property value

Type: System.String
A string that identifies a list item.

Remarks

If the item is from a list that has an external data source, the value is the external list item identifier; otherwise, it is the string representation of the value of the SPListItem.ID property.

See also

Reference

SPItemKey class

SPItemKey members

Microsoft.SharePoint.Workflow namespace