ClientObjectQueryableExtension.IncludeWithDefaultProperties<TSource> método
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight.Runtime (em Microsoft.SharePoint.Client.Silverlight.Runtime.dll); Microsoft.SharePoint.Client.Phone.Runtime (em Microsoft.SharePoint.Client.Phone.Runtime.dll) Microsoft.SharePoint.Client.Runtime (em Microsoft.SharePoint.Client.Runtime.dll)
Sintaxe
'Declaração
<ExtensionAttribute> _
Public Shared Function IncludeWithDefaultProperties(Of TSource As ClientObject) ( _
clientObjects As IQueryable(Of TSource), _
ParamArray retrievals As Expression(Of Func(Of TSource, Object))() _
) As IQueryable(Of TSource)
'Uso
Dim clientObjects As IQueryable(Of TSource)
Dim retrievals As Expression(Of Func(Of TSource, Object))()
Dim returnValue As IQueryable(Of TSource)
returnValue = clientObjects.IncludeWithDefaultProperties(retrievals)
public static IQueryable<TSource> IncludeWithDefaultProperties<TSource>(
this IQueryable<TSource> clientObjects,
params Expression<Func<TSource, Object>>[] retrievals
)
where TSource : ClientObject
Parâmetros de tipo
- TSource
Parâmetros
- clientObjects
Tipo: System.Linq.IQueryable<TSource>
- retrievals
Tipo: []
Valor retornado
Tipo: System.Linq.IQueryable<TSource>
Nota de uso
No Visual Basic e no C#, você pode chamar esse método como um método de instância em qualquer objeto do tipo IQueryable<TSource>. Ao usar a sintaxe de método de instância para chamar esse método, omita o primeiro parâmetro. Para saber mais, confira https://msdn.microsoft.com/pt-br/library/bb384936(v=office.15) ou https://msdn.microsoft.com/pt-br/library/bb383977(v=office.15).
Ver também
Referência
ClientObjectQueryableExtension classe