IMonitorSelectionService.CurrentDocument 属性

获取活动文档。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

语法

声明
ReadOnly Property CurrentDocument As Object
Object CurrentDocument { get; }

属性值

类型:System.Object
活动文档。

备注

该属性还跟踪分配给文档的工具窗口。

活动文档通常实现 IVsPersistDocData2 接口。

.NET Framework 安全性

请参阅

参考

IMonitorSelectionService 接口

Microsoft.VisualStudio.Modeling.Shell 命名空间