This documentation is archived and is not being maintained.

PropertyPosition Enumeration

Specifies constants that define the location in the project to insert a property.

Namespace: Microsoft.Build.BuildEngine
Assembly: Microsoft.Build.Engine (in microsoft.build.engine.dll)

public enum PropertyPosition
public enum PropertyPosition
public enum PropertyPosition

 Member nameDescription
UseExistingOrCreateAfterLastImportReplace the existing Property element if it exists. Otherwise, create the Property after the last Import element in the project. 
UseExistingOrCreateAfterLastPropertyGroupReplace the existing Property element if it exists. Otherwise, if possible, create a new Property element as a child of an existing compatible PropertyGroup element. If necessary, create a new compatible PropertyGroup element immediately following the last PropertyGroup in the project. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: