Čitajte na engleskom

Dijeli putem


SolutionConfiguration Interface

Definition

Represents information about a particular way to build the solution.

C++/CX
public interface class SolutionConfiguration
Derived
Attributes

Examples

VB
Sub SolutionConfigurationExample()  
  ' Ensure all Debug project configurations are what are built for the  
  ' Debug solution configuration.  
  Dim config As SolutionConfiguration = DTE.Solution.SolutionBuild.SolutionConfigurations.Item("Debug")  
  For each context in config.SolutionContexts  
    Context.ConfigurationName = "Debug"  
  Next  
End Sub  

Remarks

SolutionConfiguration also represents for each project which project configuration and platform provide context for the build operation and design-time features in the environment, such as statement completion in the editor.

Properties

Collection

Gets the SolutionConfigurations collection containing the SolutionConfiguration object supporting this property.

DTE

Gets the top-level extensibility object.

Name

Gets or sets the name of the object.

SolutionContexts

Gets a collection of SolutionContext objects.

Methods

Activate()

Moves the focus to the current item.

Delete()

Removes the SolutionConfiguration object from the collection.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022