IHttpRoute.Constraints Property

Gets the constraints for the route parameters.

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

Syntax

'Declaration
ReadOnly Property Constraints As IDictionary(Of String, Object)
    Get
'Usage
Dim instance As IHttpRoute
Dim value As IDictionary(Of String, Object)

value = instance.Constraints
IDictionary<string, Object> Constraints { get; }
property IDictionary<String^, Object^>^ Constraints {
    IDictionary<String^, Object^>^ get ();
}
abstract Constraints : IDictionary<string, Object>
function get Constraints () : IDictionary<String, Object>

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>
The constraints for the route parameters.

See Also

Reference

IHttpRoute Interface

System.Web.Http.Routing Namespace