ExpansionProvider::EndExpansion Method ()

 

Called when an expansion session has ended.

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

public:
virtual int EndExpansion() sealed

Return Value

Type: System::Int32

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

This method is an implementation of the EndExpansion method on the IVsExpansionClient interface.

The base method clears the internal flag that indicates a snippet editing session is active and throws away the expansion session obtained from the InsertSpecificExpansion and InsertNamedExpansion methods.

Return to top
Show: