更新: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
属性值
一个 Windows 集合。
示例
Sub WindowsExample()
Dim win As Windows
win = DTE.Windows
MsgBox("Number of windows: " & win.Count)
End Sub
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。