IVsRunningDocumentTable.NotifyOnAfterSave(UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se déclenche suite à l'enregistrement d'un document dans le RDT (Table de document en cours d'exécution).
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
Paramètres
- dwCookie
- UInt32
[in] Valeur abstraite qui représente le document qui est enregistré.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell. idl :
HRESULT IVsRunningDocumentTable::NotifyOnAfterSave(
[in] VSCOOKIE dwCookie
);
Le dwCookie paramètre a la même valeur que celle retournée par les FindAndLockDocument RegisterAndLockDocument méthodes ou.