Partilhar via


ToolTask.GetWorkingDirectory Method

Definition

Gets the working directory to use for the process. Should return null if ToolTask should use the current directory.

protected:
 virtual System::String ^ GetWorkingDirectory();
protected virtual string GetWorkingDirectory ();
abstract member GetWorkingDirectory : unit -> string
override this.GetWorkingDirectory : unit -> string
Protected Overridable Function GetWorkingDirectory () As String

Returns

Remarks

This is a method rather than a property so that derived classes (like Exec) can choose to expose a public WorkingDirectory property, and it would be confusing to have two properties.

Applies to