_DTE.Windows 属性

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

命名空间:  EnvDTE
程序集:  EnvDTE(在 EnvDTE.dll 中)

语法

声明
ReadOnly Property Windows As Windows
Windows Windows { get; }
property Windows^ Windows {
    Windows^ get ();
}
abstract Windows : Windows
function get Windows () : Windows

属性值

类型:EnvDTE.Windows
一个 Windows 集合。

示例

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

.NET Framework 安全性

请参见

参考

_DTE 接口

EnvDTE 命名空间