Partager via


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

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

Property Value

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

The constraints for the route parameters.

See Also

IHttpRoute Interface
System.Web.Http.Routing Namespace

Return to top