Partager via


IVsExpansionFunction.ReleaseFunction Method

Definition

Called when the expansion function is no longer needed.

public:
 int ReleaseFunction();
public:
 int ReleaseFunction();
int ReleaseFunction();
public int ReleaseFunction ();
abstract member ReleaseFunction : unit -> int
Public Function ReleaseFunction () As Integer

Returns

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.

Applies to