ODataHttpRequestMessageExtensions.GetSelectExpandClause Method (HttpRequestMessage)
Note: This API is now obsolete.
Gets the parsed OData SelectExpandClause of the request. The ODataMediaTypeFormatter will use this information (if any) while writing the response for this request.
Namespace: System.Net.Http
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
[ObsoleteAttribute("This method is obsolete; use the ODataProperties().SelectExpandClause property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
public static SelectExpandClause GetSelectExpandClause(
this HttpRequestMessage request
)
public:
[ObsoleteAttribute("This method is obsolete; use the ODataProperties().SelectExpandClause property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
[ExtensionAttribute]
static SelectExpandClause^ GetSelectExpandClause(
HttpRequestMessage^ request
)
[<ObsoleteAttribute("This method is obsolete; use the ODataProperties().SelectExpandClause property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>]
static member GetSelectExpandClause :
request:HttpRequestMessage -> SelectExpandClause
<ObsoleteAttribute("This method is obsolete; use the ODataProperties().SelectExpandClause property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>
<ExtensionAttribute>
Public Shared Function GetSelectExpandClause (
request As HttpRequestMessage
) As SelectExpandClause
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request.
Return Value
Type: Microsoft.Data.OData.Query.SemanticAst.SelectExpandClause
The parsed OData SelectExpandClause of the request or null if there isn't one.
See Also
ODataHttpRequestMessageExtensions Class
System.Net.Http Namespace
Return to top