Export (0) Print
Expand All

SolutionContexts Interface

Contains all of the SolutionContext objects for a solution configuration.

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

[GuidAttribute("0685B546-FB84-4917-AB98-98D40F892D61")]
public interface SolutionContexts : IEnumerable

The SolutionContexts type exposes the following members.

  NameDescription
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.
Top

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

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.

Show:
© 2014 Microsoft