Поделиться через


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

'Декларация
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

See Also

Reference

IVsExpansionEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace