HttpRequest.PhysicalApplicationPath プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HttpRequest.PhysicalApplicationPath プロパティの意味・解説 

HttpRequest.PhysicalApplicationPath プロパティ

現在実行しているサーバー アプリケーションルート ディレクトリ物理ファイル システム パス取得します

名前空間: System.Web
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public ReadOnly Property
 PhysicalApplicationPath As String
Dim instance As HttpRequest
Dim value As String

value = instance.PhysicalApplicationPath
public string PhysicalApplicationPath { get;
 }
public:
property String^ PhysicalApplicationPath {
    String^ get ();
}
/** @property */
public String get_PhysicalApplicationPath ()
public function get PhysicalApplicationPath
 () : String

プロパティ
現在のアプリケーションルート ディレクトリファイル システム パス

使用例使用例

HtmlEncode メソッド使用して PhysicalApplicationPath プロパティの値を HTML エンコードし、エンコードした値を WriteLine メソッド使用してファイル書き込むコード例次に示します。このコード例は、HttpRequest クラストピック取り上げているコード例一部分です。

' Write request information to the file with HTML encoding.
sw.WriteLine(Server.HtmlEncode(Request.PhysicalApplicationPath))
sw.WriteLine(Server.HtmlEncode(Request.PhysicalPath))
sw.WriteLine(Server.HtmlEncode(Request.RawUrl))
// Write request information to the file with HTML encoding.
sw.WriteLine(Server.HtmlEncode(Request.PhysicalApplicationPath));
sw.WriteLine(Server.HtmlEncode(Request.PhysicalPath));
sw.WriteLine(Server.HtmlEncode(Request.RawUrl));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「HttpRequest.PhysicalApplicationPath プロパティ」の関連用語

HttpRequest.PhysicalApplicationPath プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HttpRequest.PhysicalApplicationPath プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS