可由查询后面的 $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 子句 OrderLines 的 OrderLines.Product.Image 值、OrderLines 中各元素的Product,以及要扩展的 OrderLines 中的各元素的Product 的 Image。
$expand 子句最左侧的资源属性必须是由请求 URI 中的最新路径段标识的实体集内实体类型上的属性。
冗余 $expand 子句规则将被忽略。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。