Share via


Document.ActiveWindow-Eigenschaft

Ruft ein Window ab, in dem das aktive Fenster dargestellt wird.

Namespace:  Microsoft.Office.Tools.Word
Assemblys:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property ActiveWindow As Window
Window ActiveWindow { get; }

Eigenschaftswert

Typ: Microsoft.Office.Interop.Word.Window
Ein Window, in dem das aktive Fenster dargestellt wird.

Hinweise

Das aktive Fenster ist das Fenster, das aktuell den Fokus hat.

Wenn kein Fenster geöffnet ist, wird eine Ausnahme ausgelöst.

.NET Framework-Sicherheit

Siehe auch

Referenz

Document Schnittstelle

Microsoft.Office.Tools.Word-Namespace