ExpansionProvider.OnAfterInsertion(IVsExpansionSession) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called after a snippet has been inserted into the source.
public:
virtual int OnAfterInsertion(Microsoft::VisualStudio::TextManager::Interop::IVsExpansionSession ^ session);
public:
virtual int OnAfterInsertion(Microsoft::VisualStudio::TextManager::Interop::IVsExpansionSession ^ session);
virtual int OnAfterInsertion(Microsoft::VisualStudio::TextManager::Interop::IVsExpansionSession const & session);
public virtual int OnAfterInsertion (Microsoft.VisualStudio.TextManager.Interop.IVsExpansionSession session);
abstract member OnAfterInsertion : Microsoft.VisualStudio.TextManager.Interop.IVsExpansionSession -> int
override this.OnAfterInsertion : Microsoft.VisualStudio.TextManager.Interop.IVsExpansionSession -> int
Public Overridable Function OnAfterInsertion (session As IVsExpansionSession) As Integer
Parameters
- session
- IVsExpansionSession
[in] An IVsExpansionSession object representing the expansion session that is currently active.
Returns
If successful, returns S_OK; otherwise, returns an error code.
Implements
Remarks
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.