共用方式為


ODataVersionConstraint Properties

 

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

Properties

Name Description
System_CAPS_pubproperty IsRelaxedMatch

If set to true, allow passing in both OData V4 and previous version headers.

System_CAPS_pubproperty Version

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.

See Also

ODataVersionConstraint Class
System.Web.OData.Routing Namespace

Return to top