Compartilhar via


VsShellUtilities.GetWindowObject Method

Gets the window that exists in the specified window frame.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Public Shared Function GetWindowObject ( _
    windowFrame As IVsWindowFrame _
) As Window
public static Window GetWindowObject(
    IVsWindowFrame windowFrame
)

Parameters

Return Value

Type: EnvDTE.Window
The Window, if there is an object of that type in the frame; otherwise, null.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace