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