Share via


DesignerDocDataService.IVsRunningDocTableEvents2.OnAfterFirstDocumentLock Method

Definition

Called after the first lock of the specified type is applied to the specified document in the Running Document Table (RDT).

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

Parameters

docCookie
UInt32

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

lockType
UInt32

_VSRDTFLAGS values specifying the type of lock.

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