Share via


UriBuilder.Path 屬性

定義

取得或設定 URI 參考的資源路徑。

public:
 property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String

屬性值

String

URI 參考的資源路徑。

備註

屬性 Path 包含伺服器用來解析資訊要求的路徑資訊。 一般而言,這是伺服器檔案系統上所需資訊的路徑。 它也可以指出伺服器必須執行的應用程式或腳本,以提供資訊。

路徑資訊不包含 URI 的配置、主機名稱或查詢部分。 屬性 Path 一律會傳回至少 (/) 斜線。

適用於