Project.RemovePropertyGroup(BuildPropertyGroup) Method

Definition

Removes the specified property group from the project.

public:
 void RemovePropertyGroup(Microsoft::Build::BuildEngine::BuildPropertyGroup ^ propertyGroupToRemove);
public void RemovePropertyGroup (Microsoft.Build.BuildEngine.BuildPropertyGroup propertyGroupToRemove);
member this.RemovePropertyGroup : Microsoft.Build.BuildEngine.BuildPropertyGroup -> unit
Public Sub RemovePropertyGroup (propertyGroupToRemove As BuildPropertyGroup)

Parameters

propertyGroupToRemove
BuildPropertyGroup

The property group to remove from the project.

Applies to