ExpansionFunction::ReleaseFunction Method ()

 

Frees any allocations your ExpansionFunction class may have made.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int ReleaseFunction()

Return Value

Type: System::Int32

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

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.

Return to top
Show: