Udostępnij za pośrednictwem


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

'Declaration
Function OnAfterSaveAll As Integer
int OnAfterSaveAll()
int OnAfterSaveAll()
abstract OnAfterSaveAll : unit -> int 
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);

.NET Framework Security

See Also

Reference

IVsRunningDocTableEvents4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace