Project.AddNewPropertyGroup(Boolean) Method

Definition

Adds a new PropertyGroup element to the project.

public:
 Microsoft::Build::BuildEngine::BuildPropertyGroup ^ AddNewPropertyGroup(bool insertAtEndOfProject);
public Microsoft.Build.BuildEngine.BuildPropertyGroup AddNewPropertyGroup (bool insertAtEndOfProject);
member this.AddNewPropertyGroup : bool -> Microsoft.Build.BuildEngine.BuildPropertyGroup
Public Function AddNewPropertyGroup (insertAtEndOfProject As Boolean) As BuildPropertyGroup

Parameters

insertAtEndOfProject
Boolean

true to insert the PropertyGroup at the end of the project; otherwise, false.

Returns

A BuildPropertyGroup containing the created property group.

Applies to