Partager via


IVsDocOutlineProvider.ReleaseOutline Method

Releases a document outline.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function ReleaseOutline ( _
    hwnd As IntPtr, _
    pCmdTarget As IOleCommandTarget _
) As Integer
int ReleaseOutline(
    IntPtr hwnd,
    IOleCommandTarget pCmdTarget
)
int ReleaseOutline(
    [InAttribute] IntPtr hwnd, 
    [InAttribute] IOleCommandTarget^ pCmdTarget
)
abstract ReleaseOutline : 
        hwnd:IntPtr * 
        pCmdTarget:IOleCommandTarget -> int
function ReleaseOutline(
    hwnd : IntPtr, 
    pCmdTarget : IOleCommandTarget
) : int

Parameters

  • hwnd
    Type: IntPtr

    [in] Handle to the document outline.

Return Value

Type: 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::ReleaseOutline(
   [in] HWND hwnd,
   [in] IOleCommandTarget* pCmdTarget
);

.NET Framework Security

See Also

Reference

IVsDocOutlineProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace