Share via


DTE2.Windows Property

Gets a Windows collection containing the windows that display in the object.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
ReadOnly Property Windows As Windows
Windows Windows { get; }
property Windows^ Windows {
    Windows^ get ();
}
abstract Windows : Windows
function get Windows () : Windows

Property Value

Type: EnvDTE.Windows
A Windows collection.

Implements

_DTE.Windows

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

EnvDTE80 Namespace