DTE2.Windows 属性

定义

获取 Windows 集合,其中包含在对象中显示的窗口。

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

属性值

Windows

一个 Windows 集合。

实现

属性

示例

Sub WindowsExample()  
   Dim win As Windows  
   win = DTE2.Windows  
   MsgBox("Number of windows: " & win.Count)  
End Sub  

适用于