Sdílet prostřednictvím


IVsRunningDocumentTable.NotifyOnBeforeSave – metoda (UInt32)

 

Je aktivována před uložením dokumentu zásadami.

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

Syntaxe

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

Parametry

  • dwCookie
    [v] Abstraktní hodnota představující dokumentu, 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::NotifyOnBeforeSave(
   [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