Freigeben über


ProjectElement.LabelLocation Property

Location of the "Label" attribute on this element, if any.

If there is no such attribute, returns null;

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Construction
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

Syntax

'Declaration
Public ReadOnly Property LabelLocation As ElementLocation
public ElementLocation LabelLocation { get; }
public:
property ElementLocation^ LabelLocation {
    ElementLocation^ get ();
}
member LabelLocation : ElementLocation with get
function get LabelLocation () : ElementLocation

Property Value

Type: Microsoft.Build.Construction.ElementLocation
Returns ElementLocation.

.NET Framework Security

See Also

Reference

ProjectElement Class

Microsoft.Build.Construction Namespace