共用方式為


HttpRequest.PathBase 屬性

定義

取得或設定要求的基底路徑。 路徑基底不應以尾端斜線結尾。

public:
 abstract property Microsoft::AspNetCore::Http::PathString PathBase { Microsoft::AspNetCore::Http::PathString get(); void set(Microsoft::AspNetCore::Http::PathString value); };
public abstract Microsoft.AspNetCore.Http.PathString PathBase { get; set; }
member this.PathBase : Microsoft.AspNetCore.Http.PathString with get, set
Public MustOverride Property PathBase As PathString

屬性值

要求的基底路徑。

適用於