RouteBase.Constraints 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取与每个路由关联的约束集。
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)