ListItem.Id 屬性
取得值,指定清單項目識別碼。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中); Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中) Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)
語法
'宣告
Public ReadOnly Property Id As Integer
Get
'用途
Dim instance As ListItem
Dim value As Integer
value = instance.Id
public int Id { get; }
屬性值
類型:System.Int32
傳回代表清單項目識別碼Int32.instance。
備註
檔案必須是 0,外部清單中的清單項目。 檔案必須是-1 尚未新增至清單的清單項目。