Partager via


DocumentTask.OnBeforeBufferClose Method

Sends notification that the text buffer is about to close.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public Overridable Sub OnBeforeBufferClose
public virtual void OnBeforeBufferClose()
public:
virtual void OnBeforeBufferClose()
abstract OnBeforeBufferClose : unit -> unit  
override OnBeforeBufferClose : unit -> unit
public function OnBeforeBufferClose()

Implements

IVsTextMarkerClient.OnBeforeBufferClose()

Remarks

By default, this method does nothing. It is an implementation of OnBeforeBufferClose.

.NET Framework Security

See Also

Reference

DocumentTask Class

Microsoft.VisualStudio.Package Namespace