共用方式為


ExpandSegmentCollection 類別

可由查詢後面的 $expand 子句展開的查詢區段。

繼承階層

System.Object
  System.Collections.Generic.List<ExpandSegment>
    System.Data.Services.ExpandSegmentCollection

命名空間:  System.Data.Services
組件:  Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)

語法

'宣告
Public Class ExpandSegmentCollection _
    Inherits List(Of ExpandSegment)
'用途
Dim instance As ExpandSegmentCollection
public class ExpandSegmentCollection : List<ExpandSegment>
public ref class ExpandSegmentCollection : public List<ExpandSegment^>
type ExpandSegmentCollection =  
    class
        inherit List<ExpandSegment>
    end
public class ExpandSegmentCollection extends List<ExpandSegment>

ExpandSegmentCollection 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ExpandSegmentCollection() 建立查詢的展開區段集合。
公用方法 ExpandSegmentCollection(Int32) 初始化新的展開區段集合,這是空集合且具有指定的初始容量。

上層

屬性

  名稱 說明
公用屬性 Capacity (繼承自 List<ExpandSegment>。)
公用屬性 Count (繼承自 List<ExpandSegment>。)
公用屬性 HasFilter 布林值,表示要展開的區段是否包含篩選子句。
公用屬性 Item (繼承自 List<ExpandSegment>。)

上層

方法

  名稱 說明
公用方法 Add (繼承自 List<ExpandSegment>。)
公用方法 AddRange (繼承自 List<ExpandSegment>。)
公用方法 AsReadOnly (繼承自 List<ExpandSegment>。)
公用方法 BinarySearch(T) (繼承自 List<ExpandSegment>。)
公用方法 BinarySearch(T, IComparer<T>) (繼承自 List<ExpandSegment>。)
公用方法 BinarySearch(Int32, Int32, T, IComparer<T>) (繼承自 List<ExpandSegment>。)
公用方法 Clear (繼承自 List<ExpandSegment>。)
公用方法 Contains (繼承自 List<ExpandSegment>。)
公用方法 ConvertAll<TOutput> (繼承自 List<ExpandSegment>。)
公用方法 CopyTo(array<T[]) (繼承自 List<ExpandSegment>。)
公用方法 CopyTo(array<T[], Int32) (繼承自 List<ExpandSegment>。)
公用方法 CopyTo(Int32, array<T[], Int32, Int32) (繼承自 List<ExpandSegment>。)
公用方法 Equals (繼承自 Object。)
公用方法 Exists (繼承自 List<ExpandSegment>。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 Find (繼承自 List<ExpandSegment>。)
公用方法 FindAll (繼承自 List<ExpandSegment>。)
公用方法 FindIndex(Predicate<T>) (繼承自 List<ExpandSegment>。)
公用方法 FindIndex(Int32, Predicate<T>) (繼承自 List<ExpandSegment>。)
公用方法 FindIndex(Int32, Int32, Predicate<T>) (繼承自 List<ExpandSegment>。)
公用方法 FindLast (繼承自 List<ExpandSegment>。)
公用方法 FindLastIndex(Predicate<T>) (繼承自 List<ExpandSegment>。)
公用方法 FindLastIndex(Int32, Predicate<T>) (繼承自 List<ExpandSegment>。)
公用方法 FindLastIndex(Int32, Int32, Predicate<T>) (繼承自 List<ExpandSegment>。)
公用方法 ForEach (繼承自 List<ExpandSegment>。)
公用方法 GetEnumerator (繼承自 List<ExpandSegment>。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetRange (繼承自 List<ExpandSegment>。)
公用方法 GetType (繼承自 Object。)
公用方法 IndexOf(T) (繼承自 List<ExpandSegment>。)
公用方法 IndexOf(T, Int32) (繼承自 List<ExpandSegment>。)
公用方法 IndexOf(T, Int32, Int32) (繼承自 List<ExpandSegment>。)
公用方法 Insert (繼承自 List<ExpandSegment>。)
公用方法 InsertRange (繼承自 List<ExpandSegment>。)
公用方法 LastIndexOf(T) (繼承自 List<ExpandSegment>。)
公用方法 LastIndexOf(T, Int32) (繼承自 List<ExpandSegment>。)
公用方法 LastIndexOf(T, Int32, Int32) (繼承自 List<ExpandSegment>。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 Remove (繼承自 List<ExpandSegment>。)
公用方法 RemoveAll (繼承自 List<ExpandSegment>。)
公用方法 RemoveAt (繼承自 List<ExpandSegment>。)
公用方法 RemoveRange (繼承自 List<ExpandSegment>。)
公用方法 Reverse() (繼承自 List<ExpandSegment>。)
公用方法 Reverse(Int32, Int32) (繼承自 List<ExpandSegment>。)
公用方法 Sort() (繼承自 List<ExpandSegment>。)
公用方法 Sort(IComparer<T>) (繼承自 List<ExpandSegment>。)
公用方法 Sort(Comparison<T>) (繼承自 List<ExpandSegment>。)
公用方法 Sort(Int32, Int32, IComparer<T>) (繼承自 List<ExpandSegment>。)
公用方法 ToArray (繼承自 List<ExpandSegment>。)
公用方法 ToString (繼承自 Object。)
公用方法 TrimExcess (繼承自 List<ExpandSegment>。)
公用方法 TrueForAll (繼承自 List<ExpandSegment>。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 IList.Add (繼承自 List<ExpandSegment>。)
明確介面實作私用方法 IList.Contains (繼承自 List<ExpandSegment>。)
明確介面實作私用方法 ICollection.CopyTo (繼承自 List<ExpandSegment>。)
明確介面實作私用方法 IEnumerable<T>.GetEnumerator (繼承自 List<ExpandSegment>。)
明確介面實作私用方法 IEnumerable.GetEnumerator (繼承自 List<ExpandSegment>。)
明確介面實作私用方法 IList.IndexOf (繼承自 List<ExpandSegment>。)
明確介面實作私用方法 IList.Insert (繼承自 List<ExpandSegment>。)
明確介面實作私用屬性 IList.IsFixedSize (繼承自 List<ExpandSegment>。)
明確介面實作私用屬性 ICollection<T>.IsReadOnly (繼承自 List<ExpandSegment>。)
明確介面實作私用屬性 IList.IsReadOnly (繼承自 List<ExpandSegment>。)
明確介面實作私用屬性 ICollection.IsSynchronized (繼承自 List<ExpandSegment>。)
明確介面實作私用屬性 IList.Item (繼承自 List<ExpandSegment>。)
明確介面實作私用方法 IList.Remove (繼承自 List<ExpandSegment>。)
明確介面實作私用屬性 ICollection.SyncRoot (繼承自 List<ExpandSegment>。)

上層

備註

$expand 子句表示每個 expand 項目都應完全展開。 例如,具有 $expand 的 OrderLines.Product.Image 值會導致 OrderLines、OrderLines 中每個元素的 Product,以及 OrderLines 中每個元素的 Product 的 Image 展開。

$expand 子句最左邊的資源屬性必須是要求 URI 中最後一個路徑區段所識別實體集內實體型別的屬性。

多餘 $expand 子句規則會被忽略。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

System.Data.Services 命名空間