SPAlert.ItemID property

Gets the integer that identifies the list item or document to which an alert applies in the parent collection of list items.

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

Syntax

'Declaration
Public Property ItemID As Integer
    Get
    Friend Set
'Usage
Dim instance As SPAlert
Dim value As Integer

value = instance.ItemID
public int ItemID { get; internal set; }

Property value

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

Remarks

The ItemID property throws an SPException if the AlertType property does not contain Item.

See also

Reference

SPAlert class

SPAlert members

Microsoft.SharePoint namespace