Export (0) Print
Expand All

SPItemEventProperties.ListItemId Property

Windows SharePoint Services 3

Gets the ID of the list item to which the event occurred.

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

public int ListItemId { get; }

Property Value

Type: System.Int32
A 32-bit integer that identifies the list item.

If you use the Add method of the SPFolderCollection class to add a folder to a list, the ListItemId property returns invalid data, not the item ID of the folder.

Community Additions

© 2014 Microsoft