[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Retrieves matching items from a list and binds them to objects of any type.
Namespace: JohnHolliday.Caml.Net
Assembly:
JohnHolliday.Caml.Net (in JohnHolliday.Caml.Net.dll)
Syntax
C# |
---|
IList<T> Fetch<T>(
SPList list
) where T : new() |
Visual Basic (Declaration) |
---|
Function Fetch(Of T As New) ( _
list As SPList _
) As IList(Of T) |
Visual C++ |
---|
generic<typename T>
where T : gcnew()
IList<T>^ Fetch (
SPList^ list
) |
Parameters
- list
- SPList
The SharePoint list to which the query will be applied.
Return Value
a list of objects of type
T
Type Parameters
- T
- The type of object to which list items will be bound.
See Also