Environment.ProcessPath プロパティ

定義

現在実行中のプロセスを開始した実行可能ファイルのパスを返します。 パスが null 使用できない場合に返します。

public:
 static property System::String ^ ProcessPath { System::String ^ get(); };
public static string? ProcessPath { get; }
member this.ProcessPath : string
Public Shared ReadOnly Property ProcessPath As String

プロパティ値

String

現在実行中のプロセスを開始した実行可能ファイルのパス。

注釈

このプロパティに最初にアクセスする前に実行可能ファイルの名前が変更または削除された場合、戻り値は未定義であり、オペレーティング システムによって異なります。

適用対象