Share via


ListItemBasedCollection<T>.GetItemById Method

This member is reserved for internal use and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Function GetItemById ( _
    id As Guid _
) As T
'Usage
Dim instance As ListItemBasedCollection
Dim id As Guid
Dim returnValue As T

returnValue = instance.GetItemById(id)
public T GetItemById(
    Guid id
)

Parameters

Return Value

Type: T

Exceptions

Exception Condition
ArgumentOutOfRangeException

See Also

Reference

ListItemBasedCollection<T> Class

ListItemBasedCollection<T> Members

Microsoft.SharePoint.Publishing Namespace