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)