IExpandProvider.ApplyExpansions Method
In this article
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies expansions to the specified queryable
parameter.
public:
System::Collections::IEnumerable ^ ApplyExpansions(System::Linq::IQueryable ^ queryable, System::Collections::Generic::ICollection<System::Data::Services::ExpandSegmentCollection ^> ^ expandPaths);
public System.Collections.IEnumerable ApplyExpansions(System.Linq.IQueryable queryable, System.Collections.Generic.ICollection<System.Data.Services.ExpandSegmentCollection> expandPaths);
abstract member ApplyExpansions : System.Linq.IQueryable * System.Collections.Generic.ICollection<System.Data.Services.ExpandSegmentCollection> -> System.Collections.IEnumerable
Public Function ApplyExpansions (queryable As IQueryable, expandPaths As ICollection(Of ExpandSegmentCollection)) As IEnumerable
- queryable
- IQueryable
The IQueryable<T> object to expand.
- expandPaths
- ICollection<ExpandSegmentCollection>
A collection of ExpandSegmentCollection paths to expand.
An IEnumerable object of the same type as the supplied queryable
object that includes the specified expandPaths
.
The ApplyExpansions method may modify the expandPaths
to indicate which expansions are included.
The returned IEnumerable may implement the IExpandedResult interface to provide enumerable objects for the expansions; otherwise, the expanded information is expected to be found directly in the enumerated objects.
Applies to
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: