ExpandSegmentCollection Class
The segments of a query that can be expanded by the $expand clause that follows a query.
Inheritance Hierarchy
System.Object
System.Collections.Generic.List<ExpandSegment>
System.Data.Services.ExpandSegmentCollection
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Class ExpandSegmentCollection _
Inherits List(Of ExpandSegment)
'Usage
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>
The ExpandSegmentCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExpandSegmentCollection() | Creates a collection of expand segments for a query. | |
ExpandSegmentCollection(Int32) | Initializes a new collection of expand segments that is empty and has the specified initial capacity. |
Top
Properties
Name | Description | |
---|---|---|
Capacity | (Inherited from List<ExpandSegment>.) | |
Count | (Inherited from List<ExpandSegment>.) | |
HasFilter | Boolean value that indicates whether segments to be expanded include a filter clause. | |
Item | (Inherited from List<ExpandSegment>.) |
Top
Methods
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList.Add | (Inherited from List<ExpandSegment>.) | |
IList.Contains | (Inherited from List<ExpandSegment>.) | |
ICollection.CopyTo | (Inherited from List<ExpandSegment>.) | |
IEnumerable<T>.GetEnumerator | (Inherited from List<ExpandSegment>.) | |
IEnumerable.GetEnumerator | (Inherited from List<ExpandSegment>.) | |
IList.IndexOf | (Inherited from List<ExpandSegment>.) | |
IList.Insert | (Inherited from List<ExpandSegment>.) | |
IList.IsFixedSize | (Inherited from List<ExpandSegment>.) | |
ICollection<T>.IsReadOnly | (Inherited from List<ExpandSegment>.) | |
IList.IsReadOnly | (Inherited from List<ExpandSegment>.) | |
ICollection.IsSynchronized | (Inherited from List<ExpandSegment>.) | |
IList.Item | (Inherited from List<ExpandSegment>.) | |
IList.Remove | (Inherited from List<ExpandSegment>.) | |
ICollection.SyncRoot | (Inherited from List<ExpandSegment>.) |
Top
Remarks
An $expand clause indicates that each expand item should be fully expanded. For example, the value OrderLines.Product.Image with $expand causes OrderLines, the Product of each element in OrderLines, and the Image of the Product of each element in OrderLines to be expanded.
The left-most resource property in an $expand clause must be a property on the entity type within the entity set identified by the last path segment in the request URI.
Redundant $expand clause rules are ignored.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.