[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: JohnHolliday.Caml.Net (in JohnHolliday.Caml.Net.dll)
Retrieves matching list items from a web 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>( SPWeb web, CAML.CAML..::QueryScope scope ) where T : new() |
Visual Basic (Declaration) |
---|
Function Fetch(Of T As New) ( _ web As SPWeb, _ scope As CAML..::QueryScope _ ) As IList(Of T) |
Visual C++ |
---|
generic<typename T> where T : gcnew() IList<T>^ Fetch ( SPWeb^ web, CAML..::QueryScope scope ) |
Parameters
- web
- SPWeb
The SharePoint web to which the query will be applied.
- scope
- CAML..::QueryScope
The query scope (site collection, web, recursive, etc.)
Return Value
a list of objects of type T
Type Parameters
- T
- The type of object to which SharePoint list data will be bound.
See Also
ICamlQuery Interface
JohnHolliday.Caml.Net Namespace