Share via


ODataVersionConstraint.MaxVersion Property

 

The maximum version of the OData protocol that an OData-Version or OData-MaxVersion request header must have in order to be processed by the OData service with this route constraint.

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

Syntax

public ODataVersion MaxVersion {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    private set;
}
public:
property ODataVersion MaxVersion {
    [CompilerGeneratedAttribute]
    ODataVersion get();
    [CompilerGeneratedAttribute]
    private: void set(ODataVersion value);
}
member MaxVersion : ODataVersion with get, private set
Public Property MaxVersion As ODataVersion
    Get
    Private Set
End Property

Property Value

Type: Microsoft.Data.OData.ODataVersion

See Also

ODataVersionConstraint Class
System.Web.Http.OData.Routing Namespace

Return to top