Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PropertyPosition Enumeration

PropertyPosition Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

© 2015 Microsoft