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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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