ClientObjectQueryableExtension.Include<TSource> method
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Include(Of TSource As ClientObject) ( _
clientObjects As IQueryable(Of TSource), _
ParamArray retrievals As Expression(Of Func(Of TSource, Object))() _
) As IQueryable(Of TSource)
'Usage
Dim clientObjects As IQueryable(Of TSource)
Dim retrievals As Expression(Of Func(Of TSource, Object))()
Dim returnValue As IQueryable(Of TSource)
returnValue = clientObjects.Include(retrievals)
public static IQueryable<TSource> Include<TSource>(
this IQueryable<TSource> clientObjects,
params Expression<Func<TSource, Object>>[] retrievals
)
where TSource : ClientObject
Type parameters
- TSource
Parameters
- clientObjects
Type: System.Linq.IQueryable<TSource>
- retrievals
Type: []
Return value
Type: System.Linq.IQueryable<TSource>
Usage note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=office.15) or https://msdn.microsoft.com/en-us/library/bb383977(v=office.15).
See also
Reference
ClientObjectQueryableExtension class