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>。) |
上層
方法
上層
明確 繼承 實作
名稱 | 說明 | |
---|---|---|
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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。