Compartilhar via


DocumentTask.OnBufferSave Method

Called when the buffer has been saved.

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

Syntax

'Declaração
Public Overridable Sub OnBufferSave ( _
    fileName As String _
)
public virtual void OnBufferSave(
    string fileName
)

Parameters

  • fileName
    Type: System.String
    The name of the file that was saved.

Implements

IVsTextMarkerClient.OnBufferSave(String)

Remarks

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

.NET Framework Security

See Also

Reference

DocumentTask Class

Microsoft.VisualStudio.Package Namespace