IVsRunningDocumentTable.NotifyOnAfterSave(UInt32) Method

Definition

Fires after a document in the RDT has been saved.

public:
 int NotifyOnAfterSave(System::UInt32 dwCookie);
public:
 int NotifyOnAfterSave(unsigned int dwCookie);
int NotifyOnAfterSave(unsigned int dwCookie);
public int NotifyOnAfterSave (uint dwCookie);
abstract member NotifyOnAfterSave : uint32 -> int
Public Function NotifyOnAfterSave (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

[in] Abstract value representing the document that is saved.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsRunningDocumentTable::NotifyOnAfterSave(  
   [in] VSCOOKIE dwCookie  
);  

The dwCookie parameter is same value that is returned from the FindAndLockDocument or RegisterAndLockDocument methods.

Applies to