Partager via


DesignerDocDataService.IVsRunningDocTableEvents.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.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(System::UInt32 docCookie, System::UInt32 lockType, System::UInt32 readLocksRemaining, System::UInt32 editLocksRemaining) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents::OnAfterFirstDocumentLock;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(unsigned int docCookie, unsigned int lockType, unsigned int readLocksRemaining, unsigned int editLocksRemaining) = Microsoft::VisualStudio::Shell::Interop::IVsRunningDocTableEvents::OnAfterFirstDocumentLock;
int Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(unsigned int docCookie, unsigned int lockType, unsigned int readLocksRemaining, unsigned int editLocksRemaining);
int IVsRunningDocTableEvents.OnAfterFirstDocumentLock (uint docCookie, uint lockType, uint readLocksRemaining, uint editLocksRemaining);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock : uint32 * uint32 * uint32 * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock : uint32 * uint32 * uint32 * uint32 -> int
Function OnAfterFirstDocumentLock (docCookie As UInteger, lockType As UInteger, readLocksRemaining As UInteger, editLocksRemaining As UInteger) As Integer Implements IVsRunningDocTableEvents.OnAfterFirstDocumentLock

Parameters

docCookie
UInt32

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

lockType
UInt32

A Microsoft.VisualStudio.Shell.Interop.__VSRDTFLAGS value specifying the lock type.

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