Export (0) Print
Expand All

SPItemEventProperties.ListItemId property

Gets the ID of the list item associated with the event.

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.

Note that this property returns invalid data, and not the item ID of the folder, if you use the Add method of the SPFolderCollection class to add a folder to a list.

Show:
© 2014 Microsoft