_Global.ActiveDocument 属性

定义

返回一个 Document 对象,该对象表示活动文档 (焦点) 的文档。 如果没有打开的文档,就会导致出错。

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

属性值

适用于