共用方式為


CommandLineActivationOperation.CurrentDirectoryPath 屬性

定義

取得從命令列啟動應用程式的目錄路徑。

public:
 property Platform::String ^ CurrentDirectoryPath { Platform::String ^ get(); };
winrt::hstring CurrentDirectoryPath();
public string CurrentDirectoryPath { get; }
var string = commandLineActivationOperation.currentDirectoryPath;
Public ReadOnly Property CurrentDirectoryPath As String

屬性值

String

Platform::String

winrt::hstring

目前的目錄路徑。

適用於