IVsUIShell.GetToolWindowEnum Method (IEnumWindowFrames)
Visual Studio 2015
Returns an enumerator that iterates through all of the existing tool windows in the environment.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- ppenum
-
Type:
Microsoft.VisualStudio.Shell.Interop.IEnumWindowFrames
[out] Pointer to the tool window enumerator.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsUIShell::GetToolWindowEnum( [out] IEnumWindowFrames **ppEnum );
This method returns an IEnumWindowFrames object, which returns a snapshot of the tool window frames present at the time this method is called. Call this method at or near the time of use.
Show: