IVsDocOutlineProvider::ReleaseOutline Method (IntPtr, IOleCommandTarget^)

 

Releases a document outline.

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

int ReleaseOutline(
	IntPtr hwnd,
	IOleCommandTarget^ pCmdTarget
)

Parameters

hwnd
Type: System::IntPtr

[in] Handle to the document outline.

pCmdTarget
Type: Microsoft.VisualStudio.OLE.Interop::IOleCommandTarget^

[in] Pointer to the IOleCommandTarget interface of the document outline to release.

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