Project.RemoveImportedPropertyGroup(BuildPropertyGroup) Method

Definition

Removes the specified property group from the main project file.

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

Parameters

propertyGroupToRemove
BuildPropertyGroup

A BuildPropertyGroup object representing the group to remove.

Applies to