Project.RemoveItemGroupsWithMatchingCondition(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all <ItemGroup>'s from the main project file that have a specific "Condition". This will not remove any item groups from imported project files.
public:
void RemoveItemGroupsWithMatchingCondition(System::String ^ matchCondition);
public void RemoveItemGroupsWithMatchingCondition (string matchCondition);
member this.RemoveItemGroupsWithMatchingCondition : string -> unit
Public Sub RemoveItemGroupsWithMatchingCondition (matchCondition As String)
Parameters
- matchCondition
- String