Share via


SPEventReceiverDefinitionCollection.ItemId property

Gets the identifier of the item to which the event receiver definitions apply.

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

Syntax

'Declaration
Public ReadOnly Property ItemId As Integer
    Get
'Usage
Dim instance As SPEventReceiverDefinitionCollection
Dim value As Integer

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

Property value

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

Remarks

This property is the index that identifies the list item or document to which an event receiver definition applies.

See also

Reference

SPEventReceiverDefinitionCollection class

SPEventReceiverDefinitionCollection members

Microsoft.SharePoint namespace

SPListItem

Other resources

Document Information Panel Overview