次の方法で共有


ProjectRootElement.DefaultTargetsLocation Property

Definition

Location of the defaulttargets attribute, if any

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

Property Value

The DefaultTargets attribute location, or null if there is no DefaultTargets attribute.

Remarks

May not be correct if file is not saved, or file has been edited since it was last saved.

Applies to