共用方式為


SPAlert.ItemID property

取得識別清單項目或警示所套用至清單項目父代集合中的文件的整數。

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

Syntax

'宣告
Public Property ItemID As Integer
    Get
    Friend Set
'用途
Dim instance As SPAlert
Dim value As Integer

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

Property value

Type: System.Int32
識別清單項目為 32 位元整數。

備註

如果AlertType屬性不包含Item的ItemID屬性,則會擲回SPException

請參閱

參照

SPAlert class

SPAlert members

Microsoft.SharePoint namespace