SPContext.ItemId property
取得與Microsoft SharePoint Foundation內容相關聯的項目 ID。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ItemId As Integer
Get
Set
'用途
Dim instance As SPContext
Dim value As Integer
value = instance.ItemId
instance.ItemId = value
public int ItemId { get; set; }
Property value
Type: System.Int32
32 位元整數,表示項目的 ID。