_DTE.Windows 属性

更新:2007 年 11 月

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

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

语法

声明
ReadOnly Property Windows As Windows
用法
Dim instance As _DTE
Dim value As Windows

value = instance.Windows
Windows Windows { get; }
property Windows^ Windows {
    Windows^ get ();
}
function get Windows () : Windows

属性值

类型:EnvDTE.Windows

一个 Windows 集合。

示例

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

权限

另请参见

参考

_DTE 接口

_DTE 成员

EnvDTE 命名空间