Partilhar via


VsShellUtilities.GetWindowObject(IVsWindowFrame) Method

Definition

Gets the window that exists in the specified window frame.

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

Parameters

windowFrame
IVsWindowFrame

The window frame.

Returns

A reference to the Window interaface if succesfull. Otherwise null.

Applies to