IVsExpansionEvents::OnAfterSnippetsUpdate Method ()

 

Called whenever a folder that contains snippets has been updated and the snippets from that folder have been read in.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

int OnAfterSnippetsUpdate()

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr2.idl:

HRESULT IVsExpansionEvents::OnAfterSnippetsUpdate();

Code snippet folders are processed during idle times in Visual Studio. If a change is detected within a code snippet folder, the snippets from that folder are reloaded. This method is called after all changed snippet folders have been processed.

Return to top
Show: