VsShellUtilities.GetWindowObject(IVsWindowFrame) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取存在于指定窗口框架中的窗口。
public:
static EnvDTE::Window ^ GetWindowObject(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ windowFrame);
public:
static EnvDTE::Window ^ GetWindowObject(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ windowFrame);
static EnvDTE::Window GetWindowObject(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & windowFrame);
public static EnvDTE.Window GetWindowObject (Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame windowFrame);
static member GetWindowObject : Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> EnvDTE.Window
Public Shared Function GetWindowObject (windowFrame As IVsWindowFrame) As Window
Public Function GetWindowObject (windowFrame As IVsWindowFrame) As Window
参数
- windowFrame
- IVsWindowFrame
窗口框架。
返回
如果成功,则为对窗口 interaface 的引用。 否则为 null。