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

Parameters

site
SPSite
The site collection 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