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)
Syntax
'Declaration
Function OnAfterSnippetsUpdate As Integer
int OnAfterSnippetsUpdate()
int OnAfterSnippetsUpdate()
abstract OnAfterSnippetsUpdate : unit -> int
function OnAfterSnippetsUpdate() : int
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.