IVsRunningDocTableEvents4.OnAfterSaveAll Method

Fired after a Save All command is executed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣言
Function OnAfterSaveAll As Integer
'使用
Dim instance As IVsRunningDocTableEvents4
Dim returnValue As Integer

returnValue = instance.OnAfterSaveAll()
int OnAfterSaveAll()
int OnAfterSaveAll()
function OnAfterSaveAll() : int

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Parties that have user state not managed via a document in the Running Document Table (RDT) can use this event to know to save their state.

COM Signature

From vsshell80.idl:

[C++]

HRESULT OnAfterSaveAll(void);

Permissions

See Also

Reference

IVsRunningDocTableEvents4 Interface

IVsRunningDocTableEvents4 Members

Microsoft.VisualStudio.Shell.Interop Namespace