Export (0) Print
Expand All

ExpandSegmentCollection Class

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

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

'Declaration
Public Class ExpandSegmentCollection _
	Inherits List(Of ExpandSegment)
'Usage
Dim instance As ExpandSegmentCollection

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.

System.Object
  System.Collections.Generic.List(Of ExpandSegment)
    System.Data.Services.ExpandSegmentCollection

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

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1

Community Additions

ADD
Show:
© 2014 Microsoft