IExpandProvider.ApplyExpansions 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
對指定 queryable 參數套用展開。
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
IQueryable<T>要擴展的對象。
- expandPaths
- ICollection<ExpandSegmentCollection>
一系列 ExpandSegmentCollection 擴展路徑。
傳回
與 IEnumerable 所提供 queryable 物件類型相同且包含指定的 expandPaths物件 。
備註
該 ApplyExpansions 方法可修改 以 expandPaths 標示包含哪些擴充包。
返回 IEnumerable 者可能會實作 IExpandedResult 介面以提供可枚舉的物件給擴充;否則,擴展後的資訊預期直接存在於列舉物件中。