Compartilhar via


List.GetItemById 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 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