Partager via


SolutionContexts Interface

Definition

Contains all of the SolutionContext objects for a solution configuration.

public interface class SolutionContexts : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0685B546-FB84-4917-AB98-98D40F892D61")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface SolutionContexts : System.Collections.IEnumerable
[System.Runtime.InteropServices.Guid("0685B546-FB84-4917-AB98-98D40F892D61")]
public interface SolutionContexts : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("0685B546-FB84-4917-AB98-98D40F892D61")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type SolutionContexts = interface
    interface IEnumerable
[<System.Runtime.InteropServices.Guid("0685B546-FB84-4917-AB98-98D40F892D61")>]
type SolutionContexts = interface
    interface IEnumerable
Public Interface SolutionContexts
Implements IEnumerable
Attributes
Implements

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.

Properties

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.

Methods

GetEnumerator()

Gets an enumeration for items in a collection.

Item(Object)

Returns a SolutionContext object in a SolutionContexts collection.

Applies to