Partilhar via


IVsDocOutlineProvider.ReleaseOutline(IntPtr, IOleCommandTarget) Method

Definition

Releases a document outline.

public:
 int ReleaseOutline(IntPtr hwnd, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ pCmdTarget);
public int ReleaseOutline (IntPtr hwnd, Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget pCmdTarget);
abstract member ReleaseOutline : nativeint * Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget -> int
Public Function ReleaseOutline (hwnd As IntPtr, pCmdTarget As IOleCommandTarget) As Integer

Parameters

hwnd
IntPtr

nativeint

[in] Handle to the document outline.

pCmdTarget
IOleCommandTarget

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

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

Applies to