Share via


SelectExpandQueryOption Constructor

Definition

Initializes a new instance of the SelectExpandQueryOption class.

public SelectExpandQueryOption (string select, string expand, Microsoft.AspNet.OData.ODataQueryContext context, Microsoft.OData.UriParser.ODataQueryOptionParser queryOptionParser);
new Microsoft.AspNet.OData.Query.SelectExpandQueryOption : string * string * Microsoft.AspNet.OData.ODataQueryContext * Microsoft.OData.UriParser.ODataQueryOptionParser -> Microsoft.AspNet.OData.Query.SelectExpandQueryOption
Public Sub New (select As String, expand As String, context As ODataQueryContext, queryOptionParser As ODataQueryOptionParser)

Parameters

select
String

The $select query parameter value.

expand
String

The $expand query parameter value.

context
ODataQueryContext

The ODataQueryContext which contains the IEdmModel and some type information.

queryOptionParser
ODataQueryOptionParser

The ODataQueryOptionParser which is used to parse the query option.

Applies to