RouteBase.Constraints 属性

定义

获取与每个路由关联的约束集。

public:  virtual property System::Collections::Generic::IDictionary<System::String ^, Microsoft::AspNetCore::Routing::IRouteConstraint ^> ^ Constraints {  public:
System::Collections::Generic::IDictionary<System::String ^, Microsoft::AspNetCore::Routing::IRouteConstraint ^> ^ get(); protected:
 void set(System::Collections::Generic::IDictionary<System::String ^, Microsoft::AspNetCore::Routing::IRouteConstraint ^> ^ value); };
public virtual System.Collections.Generic.IDictionary<string,Microsoft.AspNetCore.Routing.IRouteConstraint> Constraints { get; protected set; }
member this.Constraints : System.Collections.Generic.IDictionary<string, Microsoft.AspNetCore.Routing.IRouteConstraint> with get, set
Public Overridable Property Constraints As IDictionary(Of String, IRouteConstraint)

属性值

适用于