Поделиться через


IVsDocOutlineProvider.GetOutline Method

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.

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

See Also

Reference

IVsDocOutlineProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace