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
- id
Type: System.Guid
Return value
Type: T
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException |
See also
Reference
ListItemBasedCollection<T> class