VsShellUtilities.GetUIHierarchyWindow(IServiceProvider, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a window for the given GUID.
public:
static Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchyWindow ^ GetUIHierarchyWindow(IServiceProvider ^ serviceProvider, Guid guidPersistenceSlot);
public static Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchyWindow GetUIHierarchyWindow (IServiceProvider serviceProvider, Guid guidPersistenceSlot);
static member GetUIHierarchyWindow : IServiceProvider * Guid -> Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchyWindow
Public Shared Function GetUIHierarchyWindow (serviceProvider As IServiceProvider, guidPersistenceSlot As Guid) As IVsUIHierarchyWindow
Public Function GetUIHierarchyWindow (serviceProvider As IServiceProvider, guidPersistenceSlot As Guid) As IVsUIHierarchyWindow
Parameters
- serviceProvider
- IServiceProvider
The service provider.
- guidPersistenceSlot
- Guid
Unique identifier for a tool window created using IVsUIShell::CreateToolWindow. The caller of this method can use predefined identifiers that map to tool windows if those tool windows are known to the caller.
Returns
A reference to an IVsUIHierarchyWindow interface.
Remarks
The guidPersistenceSlot
parameter is the unique identifier for a tool window that is created by using CreateToolWindow. The caller of this method can also use predefined identifiers that map to tool windows if those tool windows are known to the caller.