Share via


HttpRequestMessageExtensions.ODataProperties Method (HttpRequestMessage)

 

Gets the HttpRequestMessageProperties instance containing OData methods and properties for given HttpRequestMessage.

Namespace:   System.Web.Http.OData.Extensions
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public static HttpRequestMessageProperties ODataProperties(
    this HttpRequestMessage request
)
public:
[ExtensionAttribute]
static HttpRequestMessageProperties^ ODataProperties(
    HttpRequestMessage^ request
)
static member ODataProperties : 
        request:HttpRequestMessage -> HttpRequestMessageProperties
<ExtensionAttribute>
Public Shared Function ODataProperties (
    request As HttpRequestMessage
) As HttpRequestMessageProperties

Parameters

Return Value

Type: System.Web.Http.OData.Extensions.HttpRequestMessageProperties

An object through which OData methods and properties for given request are available.

See Also

HttpRequestMessageExtensions Class
System.Web.Http.OData.Extensions Namespace

Return to top