共用方式為


IInlineConstraintResolver.ResolveConstraint(String) 方法

定義

解析內部條件約束。

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 嵌條件約束已解析為 。

適用於