共用方式為


Exec.GetWorkingDirectory Method

Definition

Gets the working directory to use for the process. Should return null if ToolTask should use the current directory. May throw an IOException if the directory to be used is somehow invalid.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 override System::String ^ GetWorkingDirectory();
protected override string GetWorkingDirectory ();
override this.GetWorkingDirectory : unit -> string
Protected Overrides Function GetWorkingDirectory () As String

Returns

working directory

Remarks

If the working directory is UNC, returns the system path %SystemRoot%\System32.

Applies to