Partilhar via


ProjectElement.Location Property

Definition

Location of the corresponding Xml element. May not be correct if file is not saved, or file has been edited since it was last saved. In the case of an unsaved edit, the location only contains the path to the file that the element originates from.

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

Property Value

Returns ElementLocation.

Applies to