SPItemKey Constructor (String)
Initializes a new instance of the SPItemKey class and specifies a value for the Key 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 ( _
key As String _
)
'Usage
Dim key As String
Dim instance As New SPItemKey(key)
public SPItemKey(
string key
)
Parameters
key
Type: System.StringAn identifier (ID) for 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.Key property and the integer value of the argument is set as the value of the SPItemKey.Id property.