Export (0) Print
Expand All

ExpandSegmentCollection Class

The segments of a query that can be expanded by the $expand clause that follows a query.

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

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public ref class ExpandSegmentCollection : public List<ExpandSegment^>

The ExpandSegmentCollection type exposes the following members.

  NameDescription
Public methodExpandSegmentCollection()Creates a collection of expand segments for a query.
Public methodExpandSegmentCollection(Int32)Initializes a new collection of expand segments that is empty and has the specified initial capacity.
Top

  NameDescription
Public propertyCapacity (Inherited from List<ExpandSegment>.)
Public propertyCount (Inherited from List<ExpandSegment>.)
Public propertyHasFilterBoolean value that indicates whether segments to be expanded include a filter clause.
Public propertyItem (Inherited from List<ExpandSegment>.)
Top

  NameDescription
Public methodAdd (Inherited from List<ExpandSegment>.)
Public methodAddRange (Inherited from List<ExpandSegment>.)
Public methodAsReadOnly (Inherited from List<ExpandSegment>.)
Public methodBinarySearch(T) (Inherited from List<ExpandSegment>.)
Public methodBinarySearch(T, IComparer<T>) (Inherited from List<ExpandSegment>.)
Public methodBinarySearch(Int32, Int32, T, IComparer<T>) (Inherited from List<ExpandSegment>.)
Public methodClear (Inherited from List<ExpandSegment>.)
Public methodContains (Inherited from List<ExpandSegment>.)
Public methodConvertAll<TOutput> (Inherited from List<ExpandSegment>.)
Public methodCopyTo(array<T>) (Inherited from List<ExpandSegment>.)
Public methodCopyTo(array<T>, Int32) (Inherited from List<ExpandSegment>.)
Public methodCopyTo(Int32, array<T>, Int32, Int32) (Inherited from List<ExpandSegment>.)
Public methodEquals (Inherited from Object.)
Public methodExists (Inherited from List<ExpandSegment>.)
Protected methodFinalize (Inherited from Object.)
Public methodFind (Inherited from List<ExpandSegment>.)
Public methodFindAll (Inherited from List<ExpandSegment>.)
Public methodFindIndex(Predicate<T>) (Inherited from List<ExpandSegment>.)
Public methodFindIndex(Int32, Predicate<T>) (Inherited from List<ExpandSegment>.)
Public methodFindIndex(Int32, Int32, Predicate<T>) (Inherited from List<ExpandSegment>.)
Public methodFindLast (Inherited from List<ExpandSegment>.)
Public methodFindLastIndex(Predicate<T>) (Inherited from List<ExpandSegment>.)
Public methodFindLastIndex(Int32, Predicate<T>) (Inherited from List<ExpandSegment>.)
Public methodFindLastIndex(Int32, Int32, Predicate<T>) (Inherited from List<ExpandSegment>.)
Public methodForEach (Inherited from List<ExpandSegment>.)
Public methodGetEnumerator (Inherited from List<ExpandSegment>.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetRange (Inherited from List<ExpandSegment>.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(T) (Inherited from List<ExpandSegment>.)
Public methodIndexOf(T, Int32) (Inherited from List<ExpandSegment>.)
Public methodIndexOf(T, Int32, Int32) (Inherited from List<ExpandSegment>.)
Public methodInsert (Inherited from List<ExpandSegment>.)
Public methodInsertRange (Inherited from List<ExpandSegment>.)
Public methodLastIndexOf(T) (Inherited from List<ExpandSegment>.)
Public methodLastIndexOf(T, Int32) (Inherited from List<ExpandSegment>.)
Public methodLastIndexOf(T, Int32, Int32) (Inherited from List<ExpandSegment>.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove (Inherited from List<ExpandSegment>.)
Public methodRemoveAll (Inherited from List<ExpandSegment>.)
Public methodRemoveAt (Inherited from List<ExpandSegment>.)
Public methodRemoveRange (Inherited from List<ExpandSegment>.)
Public methodReverse() (Inherited from List<ExpandSegment>.)
Public methodReverse(Int32, Int32) (Inherited from List<ExpandSegment>.)
Public methodSort() (Inherited from List<ExpandSegment>.)
Public methodSort(IComparer<T>) (Inherited from List<ExpandSegment>.)
Public methodSort(Comparison<T>) (Inherited from List<ExpandSegment>.)
Public methodSort(Int32, Int32, IComparer<T>) (Inherited from List<ExpandSegment>.)
Public methodToArray (Inherited from List<ExpandSegment>.)
Public methodToString (Inherited from Object.)
Public methodTrimExcess (Inherited from List<ExpandSegment>.)
Public methodTrueForAll (Inherited from List<ExpandSegment>.)
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft