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
'Declaración
Function OnAfterSaveAll As Integer
'Uso
Dim instance As IVsRunningDocTableEvents4
Dim returnValue As Integer
returnValue = instance.OnAfterSaveAll()
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
- 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.
See Also
Reference
IVsRunningDocTableEvents4 Interface