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: 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDocOutlineProvider::ReleaseOutline(
[in] HWND hwnd,
[in] IOleCommandTarget* pCmdTarget
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.