Compartilhar via


ExpansionFunction.ReleaseFunction Method

Definition

Frees any allocations your ExpansionFunction class may have made.

public:
 virtual int ReleaseFunction();
public:
 virtual int ReleaseFunction();
 virtual int ReleaseFunction();
public virtual int ReleaseFunction ();
abstract member ReleaseFunction : unit -> int
override this.ReleaseFunction : unit -> int
Public Overridable Function ReleaseFunction () As Integer

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Remarks

This method is an implementation of the ReleaseFunction method on the IVsExpansionFunction interface.

The base method sets the internal reference to the ExpansionProvider to null and returns S_OK.

Applies to