This documentation is archived and is not being maintained.

ExpandSegment Constructor

Initializes an ExpandSegment object with the specified property name and a filtering expression, possibly null.

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

public ExpandSegment(
	string name,
	Expression filter


Type: System.String

The name of the property to be expanded.

Type: System.Linq.Expressions.Expression

The filter option in the query to which the expand segment applies.

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