IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock Yöntem (UInt32, UInt32, UInt32, UInt32)
Belirtilen belge içinde çalışan belge tablosu (rdt) belirtilen türde son kilidi serbest bırakmadan önce denir.
Ad Alanı: Microsoft.VisualStudio.Shell.Interop
Derleme: Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)
Sözdizimi
int OnBeforeLastDocumentUnlock(
uint docCookie,
uint dwRDTLockType,
uint dwReadLocksRemaining,
uint dwEditLocksRemaining
)
int OnBeforeLastDocumentUnlock(
unsigned int docCookie,
unsigned int dwRDTLockType,
unsigned int dwReadLocksRemaining,
unsigned int dwEditLocksRemaining
)
abstract OnBeforeLastDocumentUnlock :
docCookie:uint32 *
dwRDTLockType:uint32 *
dwReadLocksRemaining:uint32 *
dwEditLocksRemaining:uint32 -> int
Function OnBeforeLastDocumentUnlock (
docCookie As UInteger,
dwRDTLockType As UInteger,
dwReadLocksRemaining As UInteger,
dwEditLocksRemaining As UInteger
) As Integer
Parametreler
- docCookie
[in] Niteliklerini değiştirilen belgeyi gösteren soyut değer.
- dwRDTLockType
[in] Yayımlanan Kilit türü.Gelen değerleri alınır _VSRDTFLAGS numaralandırma.
- dwReadLocksRemaining
[in] Kalan okuma kilitleri sayısını belirtir.
- dwEditLocksRemaining
[in] Kalan düzenleme kilit sayısını belirtir.
Dönüş Değeri
Type: System.Int32
Yöntem başarılı olursa, verir S_OK.Başarısız olursa, bir hata kodu döndürür.
Uygulanan
IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)
Notlar
Bu yöntemi, yalnızca son kilit belge üzerinde serbest bırakılır ve yalnızca son düzenlemeden önce kilidi serbest okuma önce çağrılır.
com imzası
Vsshell.idl:
HRESULT IVsRunningDocTableEvents2::OnBeforeLastDocumentUnlock(
[in] VSCOOKIE docCookie,
[in] VSRDTFLAGS dwRDTLockType,
[in] DWORD dwReadLocksRemaining,
[in] DWORD dwEditLocksRemaining
);
Ayrıca bkz.
IVsRunningDocTableEvents2 Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı
Başa dön