SolutionConfiguration2::Delete Method ()
Visual Studio 2015
Removes the SolutionConfiguration object from the collection.
Assembly: EnvDTE80 (in EnvDTE80.dll)
For the SolutionConfiguration object, the last remaining solution configuration cannot be deleted.
This example displays the active solution configuration item's name for the first item, activates it, and then deletes it. Open a project in the Visual Studio integrated development environment (IDE) before running this examle. After you run this example, the configuration item that was displayed in the first message box is now removed from the Solution Configurations dropdown menu.
Show: