DesignerDocDataService.IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock Method

Definition

Called before the last lock of the specified type is released on the specified document in the Running Document Table (RDT).

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock(System::UInt32 docCookie, System::UInt32 lockType, System::UInt32 readLocksRemaining, System::UInt32 editLocksRemaining) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents2::OnBeforeLastDocumentUnlock;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock(unsigned int docCookie, unsigned int lockType, unsigned int readLocksRemaining, unsigned int editLocksRemaining) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents2::OnBeforeLastDocumentUnlock;
int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock(unsigned int docCookie, unsigned int lockType, unsigned int readLocksRemaining, unsigned int editLocksRemaining);
int IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock (uint docCookie, uint lockType, uint readLocksRemaining, uint editLocksRemaining);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock : uint32 * uint32 * uint32 * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock : uint32 * uint32 * uint32 * uint32 -> int
Function OnBeforeLastDocumentUnlock (docCookie As UInteger, lockType As UInteger, readLocksRemaining As UInteger, editLocksRemaining As UInteger) As Integer Implements IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock

Parameters

docCookie
UInt32

The identifier of the document data object in the Running Document Table.

lockType
UInt32

Microsoft.VisualStudio.Shell.Interop.__VSRDTFLAGS values specifying the type of lock being released.

readLocksRemaining
UInt32

The number of read locks remaining.

editLocksRemaining
UInt32

The number of edit locks remaining.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to