共用方式為


IVsRunningDocTableEvents4.OnAfterSaveAll Method

Definition

Fired after a Save All command is executed.

public:
 int OnAfterSaveAll();
public:
 int OnAfterSaveAll();
int OnAfterSaveAll();
public int OnAfterSaveAll ();
abstract member OnAfterSaveAll : unit -> int
Public Function OnAfterSaveAll () As Integer

Returns

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);  

Applies to