Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a document outline.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetOutline ( _
    <OutAttribute> ByRef phwnd As IntPtr, _
    <OutAttribute> ByRef ppCmdTarget As IOleCommandTarget _
) As Integer
int GetOutline(
    out IntPtr phwnd,
    out IOleCommandTarget ppCmdTarget
)
int GetOutline(
    [OutAttribute] IntPtr% phwnd, 
    [OutAttribute] IOleCommandTarget^% ppCmdTarget
)
abstract GetOutline : 
        phwnd:IntPtr byref * 
        ppCmdTarget:IOleCommandTarget byref -> int 
function GetOutline(
    phwnd : IntPtr, 
    ppCmdTarget : IOleCommandTarget
) : int
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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDocOutlineProvider::GetOutline(
   [out] HWND* phwnd,
   [out] IOleCommandTarget** ppCmdTarget
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.