SPItem.ID property
取得或設定項目的 ID。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Property ID As Integer
Get
Set
'用途
Dim instance As SPItem
Dim value As Integer
value = instance.ID
instance.ID = value
public virtual int ID { get; set; }
Property value
Type: System.Int32
32 位元的整數,指定 id。