Share via


HttpRoute.Constraints Property

 

Gets the constraints for the route parameters.

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

Syntax

public IDictionary<string, object> Constraints { get; }
public:
property IDictionary<String^, Object^>^ Constraints {
    virtual IDictionary<String^, Object^>^ get() sealed;
}
abstract Constraints : IDictionary<string, Object> with get
override Constraints : IDictionary<string, Object> with get
Public ReadOnly Property Constraints As IDictionary(Of String, Object)

Property Value

Type: System.Collections.Generic.IDictionary<String, Object>

The constraints for the route parameters.

Implements

IHttpRoute.Constraints

See Also

HttpRoute Class
System.Web.Http.Routing Namespace

Return to top