共用方式為


IMonitorSelectionService.CurrentWindow 屬性

取得文件] 窗格或正在使用中的工具視窗窗格。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
ReadOnly Property CurrentWindow As Object
Object CurrentWindow { get; }

屬性值

型別:System.Object
文件] 窗格或 [作用中的工具視窗窗格中。

備註

通常是使用中的 [視窗] 窗格會實作IVsWindowPane介面。

.NET Framework 安全性

請參閱

參考

IMonitorSelectionService 介面

Microsoft.VisualStudio.Modeling.Shell 命名空間