IVsExpansionFunction.ReleaseFunction Method

Called when the expansion function is no longer needed.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

声明
Function ReleaseFunction As Integer
int ReleaseFunction()
int ReleaseFunction()
abstract ReleaseFunction : unit -> int 
function ReleaseFunction() : int

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 textmgr2.idl:

HRESULT IVsExpansionFunction::ReleaseFunction();

This method is called just before the expansion function object is destroyed so the expansion function can free any resources it allocated.

.NET Framework Security

See Also

Reference

IVsExpansionFunction Interface

Microsoft.VisualStudio.TextManager.Interop Namespace