ODataVersionConstraint.Version Property

 

The 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.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)

Syntax

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

Property Value

Type: Microsoft.OData.Core.ODataVersion

See Also

ODataVersionConstraint Class
System.Web.OData.Routing Namespace

Return to top