次の方法で共有


SolutionContexts インターフェイス

ソリューション構成のすべての SolutionContext オブジェクトが含まれます。

名前空間:  EnvDTE
アセンブリ:  EnvDTE (EnvDTE.dll 内)

構文

'宣言
<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

SolutionContexts 型で公開されるメンバーは以下のとおりです。

プロパティ

  名前 説明
パブリック プロパティ Count コレクション内の SolutionContext オブジェクトの数を示す値を取得します。
パブリック プロパティ DTE トップ レベルの機能拡張オブジェクトを取得します。
パブリック プロパティ Parent SolutionContexts コレクションの直接の親オブジェクトを返します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable から継承されます。)
パブリック メソッド GetEnumerator() コレクション内の項目の列挙体を取得します。
パブリック メソッド Item SolutionContexts コレクション内の SolutionContext オブジェクトを返します。

このページのトップへ

解説

各ソリューション構成には、ソリューション内のプロジェクトごとに SolutionContext オブジェクトがあります。SolutionContexts コレクションには、すべての SolutionContext オブジェクトが含まれます。 これらのオブジェクトは、SolutionConfiguration を選択しているときにコンテキストを提供するプロジェクト構成とプラットフォームを定義します。また、特定のプロジェクトをビルドするか配置するかを指定できます。

参照

参照

EnvDTE 名前空間