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
Public method ExpandSegmentCollection() Creates a collection of expand segments for a query.
Public method ExpandSegmentCollection(Int32) Initializes a new collection of expand segments that is empty and has the specified initial capacity.

Top

Properties

  Name Description
Public property Capacity (Inherited from List<ExpandSegment>.)
Public property Count (Inherited from List<ExpandSegment>.)
Public property HasFilter Boolean value that indicates whether segments to be expanded include a filter clause.
Public property Item (Inherited from List<ExpandSegment>.)

Top

Methods

  Name Description
Public method Add (Inherited from List<ExpandSegment>.)
Public method AddRange (Inherited from List<ExpandSegment>.)
Public method AsReadOnly (Inherited from List<ExpandSegment>.)
Public method BinarySearch(T) (Inherited from List<ExpandSegment>.)
Public method BinarySearch(T, IComparer<T>) (Inherited from List<ExpandSegment>.)
Public method BinarySearch(Int32, Int32, T, IComparer<T>) (Inherited from List<ExpandSegment>.)
Public method Clear (Inherited from List<ExpandSegment>.)
Public method Contains (Inherited from List<ExpandSegment>.)
Public method ConvertAll<TOutput> (Inherited from List<ExpandSegment>.)
Public method CopyTo(array<T[]) (Inherited from List<ExpandSegment>.)
Public method CopyTo(array<T[], Int32) (Inherited from List<ExpandSegment>.)
Public method CopyTo(Int32, array<T[], Int32, Int32) (Inherited from List<ExpandSegment>.)
Public method Equals (Inherited from Object.)
Public method Exists (Inherited from List<ExpandSegment>.)
Protected method Finalize (Inherited from Object.)
Public method Find (Inherited from List<ExpandSegment>.)
Public method FindAll (Inherited from List<ExpandSegment>.)
Public method FindIndex(Predicate<T>) (Inherited from List<ExpandSegment>.)
Public method FindIndex(Int32, Predicate<T>) (Inherited from List<ExpandSegment>.)
Public method FindIndex(Int32, Int32, Predicate<T>) (Inherited from List<ExpandSegment>.)
Public method FindLast (Inherited from List<ExpandSegment>.)
Public method FindLastIndex(Predicate<T>) (Inherited from List<ExpandSegment>.)
Public method FindLastIndex(Int32, Predicate<T>) (Inherited from List<ExpandSegment>.)
Public method FindLastIndex(Int32, Int32, Predicate<T>) (Inherited from List<ExpandSegment>.)
Public method ForEach (Inherited from List<ExpandSegment>.)
Public method GetEnumerator (Inherited from List<ExpandSegment>.)
Public method GetHashCode (Inherited from Object.)
Public method GetRange (Inherited from List<ExpandSegment>.)
Public method GetType (Inherited from Object.)
Public method IndexOf(T) (Inherited from List<ExpandSegment>.)
Public method IndexOf(T, Int32) (Inherited from List<ExpandSegment>.)
Public method IndexOf(T, Int32, Int32) (Inherited from List<ExpandSegment>.)
Public method Insert (Inherited from List<ExpandSegment>.)
Public method InsertRange (Inherited from List<ExpandSegment>.)
Public method LastIndexOf(T) (Inherited from List<ExpandSegment>.)
Public method LastIndexOf(T, Int32) (Inherited from List<ExpandSegment>.)
Public method LastIndexOf(T, Int32, Int32) (Inherited from List<ExpandSegment>.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove (Inherited from List<ExpandSegment>.)
Public method RemoveAll (Inherited from List<ExpandSegment>.)
Public method RemoveAt (Inherited from List<ExpandSegment>.)
Public method RemoveRange (Inherited from List<ExpandSegment>.)
Public method Reverse() (Inherited from List<ExpandSegment>.)
Public method Reverse(Int32, Int32) (Inherited from List<ExpandSegment>.)
Public method Sort() (Inherited from List<ExpandSegment>.)
Public method Sort(IComparer<T>) (Inherited from List<ExpandSegment>.)
Public method Sort(Comparison<T>) (Inherited from List<ExpandSegment>.)
Public method Sort(Int32, Int32, IComparer<T>) (Inherited from List<ExpandSegment>.)
Public method ToArray (Inherited from List<ExpandSegment>.)
Public method ToString (Inherited from Object.)
Public method TrimExcess (Inherited from List<ExpandSegment>.)
Public method TrueForAll (Inherited from List<ExpandSegment>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate method IEnumerable<T>.GetEnumerator (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate property ICollection<T>.IsReadOnly (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate property IList.Item (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from List<ExpandSegment>.)
Explicit interface implemetationPrivate property 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.

See Also

Reference

System.Data.Services Namespace