共用方式為


RoutePatternFactory.LiteralPart(String) 方法

定義

RoutePatternLiteralPart從提供的文字內容建立 。

public:
 static Microsoft::AspNetCore::Routing::Patterns::RoutePatternLiteralPart ^ LiteralPart(System::String ^ content);
public static Microsoft.AspNetCore.Routing.Patterns.RoutePatternLiteralPart LiteralPart (string content);
static member LiteralPart : string -> Microsoft.AspNetCore.Routing.Patterns.RoutePatternLiteralPart
Public Shared Function LiteralPart (content As String) As RoutePatternLiteralPart

參數

content
String

文字內容。

傳回

RoutePatternLiteralPart

適用於