Freigeben über


IVsExpansionEvents.OnAfterSnippetsUpdate Method

Definition

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

public:
 int OnAfterSnippetsUpdate();
public:
 int OnAfterSnippetsUpdate();
int OnAfterSnippetsUpdate();
public int OnAfterSnippetsUpdate ();
abstract member OnAfterSnippetsUpdate : unit -> int
Public Function OnAfterSnippetsUpdate () As Integer

Returns

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.

Applies to