Project.RemoveImportedPropertyGroup(BuildPropertyGroup) 方法

定义

从主项目文件中移除指定的属性组。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)

参数

propertyGroupToRemove
BuildPropertyGroup

一个 BuildPropertyGroup 对象,表示要移除的组。A BuildPropertyGroup object representing the group to remove.

适用于