共用方式為


SolutionBuild.SolutionConfigurations Property

Definition

Gets a collection of SolutionConfiguration object.

public:
 property EnvDTE::SolutionConfigurations ^ SolutionConfigurations { EnvDTE::SolutionConfigurations ^ get(); };
[System.Runtime.InteropServices.DispId(13)]
public EnvDTE.SolutionConfigurations SolutionConfigurations { [System.Runtime.InteropServices.DispId(13)] get; }
[<System.Runtime.InteropServices.DispId(13)>]
[<get: System.Runtime.InteropServices.DispId(13)>]
member this.SolutionConfigurations : EnvDTE.SolutionConfigurations
Public ReadOnly Property SolutionConfigurations As SolutionConfigurations

Property Value

A SolutionConfigurations collection.

Attributes

Examples

Sub SolutionBuildExample()  
  ' Build the solution configuration.  
  Dim sb As SolutionBuild = DTE.Solution.SolutionBuild  
  sb.SolutionConfigurations.Item("MyConfig").Activate  
  sb.Build  
End Sub  

Applies to