Share via


ListItemCollection.GetById Method (String)

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
Public Function GetById ( _
    id As String _
) As ListItem
'Usage
Dim instance As ListItemCollection
Dim id As String
Dim returnValue As ListItem

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

Parameters

Return Value

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

See Also

Reference

ListItemCollection Class

ListItemCollection Members

GetById Overload

Microsoft.SharePoint.Client Namespace