共用方式為


ListItemCollection.GetById 方法 (String)

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public Function GetById ( _
    id As String _
) As ListItem
'用途
Dim instance As ListItemCollection
Dim id As String
Dim returnValue As ListItem

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

參數

傳回值

類型:Microsoft.SharePoint.Client.ListItem
傳回ListItem

請參閱

參照

ListItemCollection 類別

ListItemCollection 成員

GetById 多載

Microsoft.SharePoint.Client 命名空間