Called when the buffer has been saved.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public Overridable Sub OnBufferSave ( _
fileName As String _
)
'使用
Dim instance As DocumentTask
Dim fileName As String
instance.OnBufferSave(fileName)
public virtual void OnBufferSave(
string fileName
)
public:
virtual void OnBufferSave(
String^ fileName
)
public function OnBufferSave(
fileName : String
)
Parameters
fileName
Type: System.StringThe name of the file that was saved.
Implements
IVsTextMarkerClient.OnBufferSave(String)
Remarks
By default this method does nothing. It is an implementation of OnBufferSave().
Permissions
- 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.