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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Overridable Function OnAfterSnippetsUpdate As Integer
'使用
Dim instance As ViewFilter
Dim returnValue As Integer
returnValue = instance.OnAfterSnippetsUpdate()
public virtual int OnAfterSnippetsUpdate()
public:
virtual int OnAfterSnippetsUpdate()
abstract OnAfterSnippetsUpdate : unit -> int
override OnAfterSnippetsUpdate : unit -> int
public function OnAfterSnippetsUpdate() : int
Return Value
Type: System.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
- 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.