英語で読む

次の方法で共有


Source.OnBeforeSessionEnd Method

Called just before a hidden region session is closed.

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.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

'宣言
Public Overridable Sub OnBeforeSessionEnd
public virtual void OnBeforeSessionEnd()

Implements

IVsHiddenTextClient.OnBeforeSessionEnd()

Remarks

This method is called when a IVsHiddenTextSession is about to be closed. This allows you to free up any resources associated with hidden regions.

This is an implementation of IVsHiddenTextClient's OnBeforeSessionEnd method.

The base method does nothing.

.NET Framework Security

See Also

Reference

Source Class

Microsoft.VisualStudio.Package Namespace