SolutionContexts Interface
Contains all of the SolutionContext objects for a solution configuration.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
<GuidAttribute("0685B546-FB84-4917-AB98-98D40F892D61")> _
Public Interface SolutionContexts _
Inherits IEnumerable
[GuidAttribute("0685B546-FB84-4917-AB98-98D40F892D61")]
public interface SolutionContexts : IEnumerable
[GuidAttribute(L"0685B546-FB84-4917-AB98-98D40F892D61")]
public interface class SolutionContexts : IEnumerable
[<GuidAttribute("0685B546-FB84-4917-AB98-98D40F892D61")>]
type SolutionContexts =
interface
interface IEnumerable
end
public interface SolutionContexts extends IEnumerable
The SolutionContexts type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets a value indicating the number of SolutionContext objects in the collection. | |
DTE | Gets the top-level extensibility object. | |
Parent | Returns the immediate parent object of a SolutionContexts collection. |
Top
Methods
Name | Description | |
---|---|---|
GetEnumerator | Gets an enumeration for items in a collection. | |
Item | Returns a SolutionContext object in a SolutionContexts collection. |
Top
Remarks
Each solution configuration has a SolutionContext object for each project in the solution, and the SolutionContexts collection contains all of these SolutionContext objects. They define which project configuration and platform provide context when the SolutionConfiguration is selected, and you can determine whether that particular project is built or deployed.