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
用法
Dim instance As IVsExpansionEvents
Dim returnValue As Integer

returnValue = instance.OnAfterSnippetsUpdate()
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

IVsExpansionEvents Members

Microsoft.VisualStudio.TextManager.Interop Namespace