_Document.ActiveWindow 属性

定义

返回表示 Window 活动窗口的 对象。

public:
 property Microsoft::Office::Interop::Word::Window ^ ActiveWindow { Microsoft::Office::Interop::Word::Window ^ get(); };
public Microsoft.Office.Interop.Word.Window ActiveWindow { get; }
member this.ActiveWindow : Microsoft.Office.Interop.Word.Window
Public ReadOnly Property ActiveWindow As Window

属性值

注解

活动窗口是具有焦点的窗口。

如果没有打开的窗口,则会发生错误。

适用于