語言

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

屬性值

URI 所參考的資源路徑。

備註

該 Path 屬性包含伺服器用來解析資訊請求的路徑資訊。 通常,這是通往伺服器檔案系統中所需資訊的路徑。 它也可以指示伺服器必須執行的應用程式或腳本來提供資訊。

路徑資訊不包含 URI 的方案、主機名稱或查詢部分。 該 Path 屬性總是至少回傳一個斜線(/)。

適用於