Project.RemovePropertyGroup(BuildPropertyGroup) Method

Definition

Removes a <PropertyGroup> from the main project file.

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

Applies to