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