ExpansionProvider.OnAfterInsertion Method

Called after a snippet has been inserted into the source.

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

Syntax

'Declaration
Public Overridable Function OnAfterInsertion ( _
    session As IVsExpansionSession _
) As Integer
'Usage
Dim instance As ExpansionProvider 
Dim session As IVsExpansionSession 
Dim returnValue As Integer 

returnValue = instance.OnAfterInsertion(session)
public virtual int OnAfterInsertion(
    IVsExpansionSession session
)
public:
virtual int OnAfterInsertion(
    IVsExpansionSession^ session
)
public function OnAfterInsertion(
    session : IVsExpansionSession
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsExpansionClient.OnAfterInsertion(IVsExpansionSession)

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.

.NET Framework Security

See Also

Reference

ExpansionProvider Class

ExpansionProvider Members

Microsoft.VisualStudio.Package Namespace