IVsDocOutlineProvider.ReleaseOutline(IntPtr, IOleCommandTarget) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);