Aracılığıyla paylaş


IVsRunningDocumentTable.NotifyOnBeforeSave Yöntem (UInt32)

 

Bir belgede RDT kaydedilmeden önce ateşlenir.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

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

Parametreler

  • dwCookie
    Type: System.UInt32

    [in] Kaydedilecek belgeyi temsil eden Özet değer.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, döndürür S_OK. Başarısız olursa, bir hata kodu döndürür.

Notlar

COM imza

Vsshell.idl:

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

dwCookie Parametresidir öğesinden döndürülen aynı değeri FindAndLockDocument veya RegisterAndLockDocument yöntemleri.

Ayrıca bkz.

IVsRunningDocumentTable Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön