ExpansionProvider::OnAfterInsertion Method (IVsExpansionSession^)

 

Called after a snippet has been inserted into the source.

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

public:
virtual int OnAfterInsertion(
	IVsExpansionSession^ session
)

Parameters

session
Type: Microsoft.VisualStudio.TextManager.Interop::IVsExpansionSession^

[in] An IVsExpansionSession object representing the expansion session that is currently active.

Return Value

Type: System::Int32

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

The snippet has been inserted and the expansion editing is active.

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

The base method does nothing.

Return to top
Show: