ViewFilter.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.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Overridable Function OnAfterSnippetsUpdate As Integer
public virtual int OnAfterSnippetsUpdate()
public:
virtual int OnAfterSnippetsUpdate()
abstract OnAfterSnippetsUpdate : unit -> int  
override OnAfterSnippetsUpdate : unit -> int
public function OnAfterSnippetsUpdate() : int

Return Value

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

Implements

IVsExpansionEvents.OnAfterSnippetsUpdate()

Remarks

By default this method returns S_OK. It is an implementation of OnAfterSnippetsUpdate.

.NET Framework Security

See Also

Reference

ViewFilter Class

Microsoft.VisualStudio.Package Namespace