DTE2.Solution 屬性

定義

取得 Solution 物件,此物件代表目前環境執行個體中所有開啟專案,並且允許存取建置物件。Gets the Solution object that represents all open projects in the current instance of the environment and allows access to the build objects.

public:
 property EnvDTE::Solution ^ Solution { EnvDTE::Solution ^ get(); };
public:
 property EnvDTE::Solution ^ Solution { EnvDTE::Solution ^ get(); };
[System.Runtime.InteropServices.DispId(209)]
[get: System.Runtime.InteropServices.DispId(209)]
public EnvDTE.Solution Solution { get; }
[<System.Runtime.InteropServices.DispId(209)>]
[<get: System.Runtime.InteropServices.DispId(209)>]
member this.Solution : EnvDTE.Solution
Public ReadOnly Property Solution As Solution

屬性值

Solution

Solution 物件。A Solution object.

實作

屬性

範例

Sub SolutionExample()  
  MsgBox(DTE2.Solution.FullName)  
End Sub  

適用於