Share via


RdtListener.OnAfterFirstDocumentLock Method

Called after a document is locked.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Overridable Function OnAfterFirstDocumentLock ( _
    docCookie As UInteger, _
    dwRDTLockType As UInteger, _
    dwReadLocksRemaining As UInteger, _
    dwEditLocksRemaining As UInteger _
) As Integer
'Usage
Dim instance As RdtListener
Dim docCookie As UInteger
Dim dwRDTLockType As UInteger
Dim dwReadLocksRemaining As UInteger
Dim dwEditLocksRemaining As UInteger
Dim returnValue As Integer

returnValue = instance.OnAfterFirstDocumentLock(docCookie, _
    dwRDTLockType, dwReadLocksRemaining, _
    dwEditLocksRemaining)
public virtual int OnAfterFirstDocumentLock(
    uint docCookie,
    uint dwRDTLockType,
    uint dwReadLocksRemaining,
    uint dwEditLocksRemaining
)
public:
virtual int OnAfterFirstDocumentLock(
    unsigned int docCookie, 
    unsigned int dwRDTLockType, 
    unsigned int dwReadLocksRemaining, 
    unsigned int dwEditLocksRemaining
)
public function OnAfterFirstDocumentLock(
    docCookie : uint, 
    dwRDTLockType : uint, 
    dwReadLocksRemaining : uint, 
    dwEditLocksRemaining : uint
) : int
abstract OnAfterFirstDocumentLock : 
        docCookie:uint32 * 
        dwRDTLockType:uint32 * 
        dwReadLocksRemaining:uint32 * 
        dwEditLocksRemaining:uint32 -> int 
override OnAfterFirstDocumentLock : 
        docCookie:uint32 * 
        dwRDTLockType:uint32 * 
        dwReadLocksRemaining:uint32 * 
        dwEditLocksRemaining:uint32 -> int 

Parameters

  • dwReadLocksRemaining
    Type: System.UInt32
    The number of read locks remaining
  • dwEditLocksRemaining
    Type: System.UInt32
    The number of edit locks remaining

Return Value

Type: System.Int32
Returns VSConstants.S_OK.

Implements

IVsRunningDocTableEvents3.OnAfterFirstDocumentLock(UInt32, UInt32, UInt32, UInt32)
IVsRunningDocTableEvents2.OnAfterFirstDocumentLock(UInt32, UInt32, UInt32, UInt32)
IVsRunningDocTableEvents.OnAfterFirstDocumentLock(UInt32, UInt32, UInt32, UInt32)

.NET Framework Security

See Also

Reference

RdtListener Class

RdtListener Members

Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace