SPItemEventProperties.ListItemId Property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property ListItemId As Integer
    Get
'Usage
Dim instance As SPItemEventProperties
Dim value As Integer

value = instance.ListItemId
public int ListItemId { get; }

Property Value

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

Remarks

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.

See Also

Reference

SPItemEventProperties Class

SPItemEventProperties Members

Microsoft.SharePoint Namespace