RdtListener.OnBeforeLastDocumentUnlock Method
Called before the last document is unlocked.
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 OnBeforeLastDocumentUnlock ( _
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.OnBeforeLastDocumentUnlock(docCookie, _
dwRDTLockType, dwReadLocksRemaining, _
dwEditLocksRemaining)
public virtual int OnBeforeLastDocumentUnlock(
uint docCookie,
uint dwRDTLockType,
uint dwReadLocksRemaining,
uint dwEditLocksRemaining
)
public:
virtual int OnBeforeLastDocumentUnlock(
unsigned int docCookie,
unsigned int dwRDTLockType,
unsigned int dwReadLocksRemaining,
unsigned int dwEditLocksRemaining
)
public function OnBeforeLastDocumentUnlock(
docCookie : uint,
dwRDTLockType : uint,
dwReadLocksRemaining : uint,
dwEditLocksRemaining : uint
) : int
abstract OnBeforeLastDocumentUnlock :
docCookie:uint32 *
dwRDTLockType:uint32 *
dwReadLocksRemaining:uint32 *
dwEditLocksRemaining:uint32 -> int
override OnBeforeLastDocumentUnlock :
docCookie:uint32 *
dwRDTLockType:uint32 *
dwReadLocksRemaining:uint32 *
dwEditLocksRemaining:uint32 -> int
Parameters
- docCookie
Type: System.UInt32
The document cookie
- dwRDTLockType
Type: System.UInt32
The document lock type
- 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.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)
IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)
IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace