SolutionContexts Interface

Contains all of the SolutionContext objects for a solution configuration.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

public interface SolutionContexts : IEnumerable

The SolutionContexts type exposes the following members.

Public propertyCountGets a value indicating the number of SolutionContext objects in the collection.
Public propertyDTEGets the top-level extensibility object.
Public propertyParentReturns the immediate parent object of a SolutionContexts collection.

Public methodGetEnumeratorGets an enumeration for items in a collection.
Public methodItemReturns a SolutionContext object in a SolutionContexts collection.

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.

Community Additions