共用方式為


Project.DirectoryPath Property

Definition

The root directory for this project. Is never null: in-memory projects use the current directory from the time of load.

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

Property Value

The root directory for this project. The root directory is never null; in-memory projects use the current directory at the time of project load.

Applies to