ActionableRdtListener.OnBeforeLastDocumentUnlock Method
Called before the last document is unlocked.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Overrides Function OnBeforeLastDocumentUnlock ( _
docCookie As UInteger, _
lockType As UInteger, _
readLocksRemaining As UInteger, _
editLocksRemaining As UInteger _
) As Integer
'Usage
Dim instance As ActionableRdtListener
Dim docCookie As UInteger
Dim lockType As UInteger
Dim readLocksRemaining As UInteger
Dim editLocksRemaining As UInteger
Dim returnValue As Integer
returnValue = instance.OnBeforeLastDocumentUnlock(docCookie, _
lockType, readLocksRemaining, editLocksRemaining)
public override int OnBeforeLastDocumentUnlock(
uint docCookie,
uint lockType,
uint readLocksRemaining,
uint editLocksRemaining
)
public:
virtual int OnBeforeLastDocumentUnlock(
unsigned int docCookie,
unsigned int lockType,
unsigned int readLocksRemaining,
unsigned int editLocksRemaining
) override
public override function OnBeforeLastDocumentUnlock(
docCookie : uint,
lockType : uint,
readLocksRemaining : uint,
editLocksRemaining : uint
) : int
abstract OnBeforeLastDocumentUnlock :
docCookie:uint32 *
lockType:uint32 *
readLocksRemaining:uint32 *
editLocksRemaining:uint32 -> int
override OnBeforeLastDocumentUnlock :
docCookie:uint32 *
lockType:uint32 *
readLocksRemaining:uint32 *
editLocksRemaining:uint32 -> int
Parameters
- docCookie
Type: System.UInt32
The document cookie for this project
- lockType
Type: System.UInt32
The type of lock being released
- readLocksRemaining
Type: System.UInt32
The number of read locks remaining
- editLocksRemaining
Type: System.UInt32
The number of edit locks remaining
Return Value
Type: System.Int32
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.Utilities Namespace