IVsDocOutlineProvider::GetOutline Method (IntPtr, IOleCommandTarget^)

 

Returns a document outline.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If 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
);
Return to top
Show: