ListItem.Id 属性

Gets a value that specifies the list item identifier.

命名空间:  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
Returns a Int32.instance representing the list item identifier.

备注

It must be 0 for a list item in an external list. It must be -1 for list items that have not yet been added to a list.

另请参阅

引用

ListItem 类

ListItem 成员

Microsoft.SharePoint.Client 命名空间