Share via


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

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.

See Also

Reference

SPItemKey Class

SPItemKey Members

SPItemKey Overload

Microsoft.SharePoint.Workflow Namespace