[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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
) where T : new()
Visual Basic (Declaration)
Function Fetch(Of T As New) ( _
	web As SPWeb _
) As IList(Of T)
Visual C++
generic<typename T>
where T : gcnew()
IList<T>^ Fetch (
	SPWeb^ web
)

Parameters

web
SPWeb
The SharePoint web 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 SharePoint list data will be bound.

See Also

ICamlQuery Interface
JohnHolliday.Caml.Net Namespace