ActionableRdtListener.OnAfterFirstDocumentLockEventHandler Delegate
Represents the method that will handle the AfterFirstDocumentLockEvent event when it is raised.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Delegate Function OnAfterFirstDocumentLockEventHandler ( _
docCookie As UInteger, _
lockType As UInteger, _
readLocksRemaining As UInteger, _
editLocksRemaining As UInteger _
) As Integer
'Usage
Dim instance As New OnAfterFirstDocumentLockEventHandler(AddressOf HandlerMethod)
public delegate int OnAfterFirstDocumentLockEventHandler(
uint docCookie,
uint lockType,
uint readLocksRemaining,
uint editLocksRemaining
)
public delegate int OnAfterFirstDocumentLockEventHandler(
unsigned int docCookie,
unsigned int lockType,
unsigned int readLocksRemaining,
unsigned int editLocksRemaining
)
JScript does not support delegates.
type OnAfterFirstDocumentLockEventHandler =
delegate of
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
- readLocksRemaining
Type: System.UInt32
The number of read locks remaining
- editLocksRemaining
Type: System.UInt32
The number edit locks remaining
Return Value
Type: System.Int32
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.Utilities Namespace