IInlineConstraintResolver.ResolveConstraint(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
解析內部條件約束。
public:
Microsoft::AspNetCore::Routing::IRouteConstraint ^ ResolveConstraint(System::String ^ inlineConstraint);
public Microsoft.AspNetCore.Routing.IRouteConstraint ResolveConstraint (string inlineConstraint);
public Microsoft.AspNetCore.Routing.IRouteConstraint? ResolveConstraint (string inlineConstraint);
abstract member ResolveConstraint : string -> Microsoft.AspNetCore.Routing.IRouteConstraint
Public Function ResolveConstraint (inlineConstraint As String) As IRouteConstraint
參數
- inlineConstraint
- String
要解析的內部條件約束。
傳回
內 IRouteConstraint 嵌條件約束已解析為 。