VsShellUtilities::GetUIHierarchyWindow Method (IServiceProvider^, Guid)

 

Gets a window for the given GUID.

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

public:
static IVsUIHierarchyWindow^ GetUIHierarchyWindow(
	IServiceProvider^ serviceProvider,
	Guid guidPersistenceSlot
)

Parameters

serviceProvider
Type: System::IServiceProvider^

IServiceProvider.

guidPersistenceSlot
Type: System::Guid

The GUID of the hierarchy window.

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.

Return to top
Show: