다음을 통해 공유


ListItem.Id Property

Gets a value that specifies the list item identifier.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property Id As Integer
    Get
'Usage
Dim instance As ListItem
Dim value As Integer

value = instance.Id
[RemoteAttribute]
public int Id { get; }

Property Value

Type: System.Int32
Returns a Int32.instance representing the list item identifier.

Remarks

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.

See Also

Reference

ListItem Class

ListItem Members

Microsoft.SharePoint.Client Namespace