Share via


List.GetItemById Method

Definition

Overloads

GetItemById(Int32)
GetItemById(String)

GetItemById(Int32)

[Microsoft.SharePoint.Client.Remote]
public Microsoft.SharePoint.Client.ListItem GetItemById (int id);
member this.GetItemById : int -> Microsoft.SharePoint.Client.ListItem
Public Function GetItemById (id As Integer) As ListItem

Parameters

id
Int32

Returns

Attributes

Applies to

GetItemById(String)

public Microsoft.SharePoint.Client.ListItem GetItemById (string id);
member this.GetItemById : string -> Microsoft.SharePoint.Client.ListItem
Public Function GetItemById (id As String) As ListItem

Parameters

id
String

Returns

Applies to