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  

适用于