Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called when the buffer has been saved.
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
'Declaration
Public Overridable Sub OnBufferSave ( _
fileName As String _
)
public virtual void OnBufferSave(
string fileName
)
public:
virtual void OnBufferSave(
String^ fileName
)
abstract OnBufferSave :
fileName:string -> unit
override OnBufferSave :
fileName:string -> unit
public function OnBufferSave(
fileName : String
)
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.