Sdílet prostřednictvím


IVsRunningDocumentTable.NotifyOnAfterSave – metoda (UInt32)

 

Je aktivována po uložení dokumentu RDT.

Obor názvů:   Microsoft.VisualStudio.Shell.Interop
Sestavení:  Microsoft.VisualStudio.Shell.Interop (v Microsoft.VisualStudio.Shell.Interop.dll)

Syntaxe

int NotifyOnAfterSave(
    uint dwCookie
)
int NotifyOnAfterSave(
    unsigned int dwCookie
)
abstract NotifyOnAfterSave : 
        dwCookie:uint32 -> int
Function NotifyOnAfterSave (
    dwCookie As UInteger
) As Integer

Parametry

  • dwCookie
    [v] Abstraktní hodnotu reprezentující dokument, který je uložen.

Vrácená hodnota

Type: System.Int32

Pokud metoda uspěje, vrací S_OK.Pokud se nezdaří, vrátí kód chyby.

Poznámky

Podpis COM

Z vsshell.idl:

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

dwCookie Parametr je stejná hodnota z FindAndLockDocument nebo RegisterAndLockDocument metod.

Viz také

IVsRunningDocumentTable – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů

Zpátky na začátek