共用方式為


ProjectRootElement.ProjectFileLocation Property

Definition

Location of the originating file itself, not any specific content within it. If the file has not been given a name, returns an empty location. This is a case where it is legitimate to "not have a location".

public:
 property Microsoft::Build::Construction::ElementLocation ^ ProjectFileLocation { Microsoft::Build::Construction::ElementLocation ^ get(); };
public Microsoft.Build.Construction.ElementLocation ProjectFileLocation { get; }
member this.ProjectFileLocation : Microsoft.Build.Construction.ElementLocation
Public ReadOnly Property ProjectFileLocation As ElementLocation

Property Value

The location of the originating file, or an empty location if the file has not been given a name.

Applies to