SPItemKey Constructor (Int32)
Initializes a new instance of the SPItemKey class and specifies a value for the Id property.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub New ( _
id As Integer _
)
'Usage
Dim id As Integer
Dim instance As New SPItemKey(id)
public SPItemKey(
int id
)
Parameters
id
Type: System.Int32The value of the SPListItem.ID property of the list item.
Remarks
When the new SPItemKey object is initialized, the value that is passed as an argument to this constructor is set as the value of the SPItemKey.Id property and the string value of the argument is set as the value of the SPItemKey.Key property.