Share via


List.GetItemById method (String)

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Function GetItemById ( _
    id As String _
) As ListItem
'Usage
Dim instance As List
Dim id As String
Dim returnValue As ListItem

returnValue = instance.GetItemById(id)
public ListItem GetItemById(
    string id
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ListItem
Returns ListItem.

See also

Reference

List class

List members

GetItemById overload

Microsoft.SharePoint.Client namespace