ExpandSegment Constructor
Initializes an ExpandSegment object with the specified property name and a filtering expression, possibly null.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Sub New ( _
name As String, _
filter As Expression _
)
'Usage
Dim name As String
Dim filter As Expression
Dim instance As New ExpandSegment(name, filter)
public ExpandSegment(
string name,
Expression filter
)
public:
ExpandSegment(
String^ name,
Expression^ filter
)
new :
name:string *
filter:Expression -> ExpandSegment
public function ExpandSegment(
name : String,
filter : Expression
)
Parameters
- name
Type: System.String
The name of the property to be expanded.
- filter
Type: System.Linq.Expressions.Expression
The filter option in the query to which the expand segment applies.