Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the window that exists in the specified window frame.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public Shared Function GetWindowObject ( _
windowFrame As IVsWindowFrame _
) As Window
'Usage
Dim windowFrame As IVsWindowFrame
Dim returnValue As Window
returnValue = VsShellUtilities.GetWindowObject(windowFrame)
public static Window GetWindowObject(
IVsWindowFrame windowFrame
)
public:
static Window^ GetWindowObject(
IVsWindowFrame^ windowFrame
)
static member GetWindowObject :
windowFrame:IVsWindowFrame -> Window
public static function GetWindowObject(
windowFrame : IVsWindowFrame
) : Window
Parameters
- windowFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
The IVsWindowFrame interface for the window frame.
Return Value
Type: EnvDTE.Window
The Window, if there is an object of that type in the frame; otherwise, null.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.