アプリケーションへのパスを取得または設定します。
名前空間: Microsoft.Windows.Shell
アセンブリ: Microsoft.Windows.Shell (Microsoft.Windows.Shell.dll 内)
構文
'宣言
Public Property ApplicationPath As String
Get
Set
public string ApplicationPath { get; set; }
public:
property String^ ApplicationPath {
String^ get ();
void set (String^ value);
}
member ApplicationPath : string with get, set
function get ApplicationPath () : String
function set ApplicationPath (value : String)
プロパティ値
型: System.String
アプリケーションへのパス。既定値は、nullnull 参照 (Visual Basic では Nothing) です。
解説
ApplicationPath プロパティが指定されていない場合は、現在実行中のプロセスのパスが暗黙的に指定されます。 アプリケーションには、それ自体以外の実行可能ファイルのタスクを含めることができます。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。