IVsDocOutlineProvider::GetOutline Method (IntPtr, IOleCommandTarget^)
Visual Studio 2015
Returns a document outline.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetOutline(
[OutAttribute] IntPtr% phwnd,
[OutAttribute] IOleCommandTarget^% ppCmdTarget
)
Parameters
- phwnd
-
Type:
System::IntPtr
[out] Pointer to a handle to the doc outline.
- ppCmdTarget
-
Type:
Microsoft.VisualStudio.OLE.Interop::IOleCommandTarget^
[out] Pointer to the IOleCommandTarget interface of the requested doc outline.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsDocOutlineProvider::GetOutline( [out] HWND* phwnd, [out] IOleCommandTarget** ppCmdTarget );
Show: