共用方式為


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)

屬性值

適用於