DocumentTask.OnBufferSave Method

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

Permissions

See Also

Reference

DocumentTask Class

DocumentTask Members

Microsoft.VisualStudio.Package Namespace