다음을 통해 공유


IVsDocOutlineProvider.GetOutline(IntPtr, IOleCommandTarget) Method

Definition

Returns a document outline.

public:
 int GetOutline([Runtime::InteropServices::Out] IntPtr % phwnd, [Runtime::InteropServices::Out] Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ % ppCmdTarget);
public int GetOutline (out IntPtr phwnd, out Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget ppCmdTarget);
abstract member GetOutline : nativeint * IOleCommandTarget -> int
Public Function GetOutline (ByRef phwnd As IntPtr, ByRef ppCmdTarget As IOleCommandTarget) As Integer

Parameters

phwnd
IntPtr

nativeint

[out] Pointer to a handle to the doc outline.

ppCmdTarget
IOleCommandTarget

[out] Pointer to the IOleCommandTarget interface of the requested doc outline.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDocOutlineProvider::GetOutline(  
   [out] HWND* phwnd,  
   [out] IOleCommandTarget** ppCmdTarget  
);  

Applies to