Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Private Function OnBeforeLastDocumentUnlock ( _
docCookie As UInteger, _
lockType As UInteger, _
readLocksRemaining As UInteger, _
editLocksRemaining As UInteger _
) As Integer Implements IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock
'使用
Dim instance As DesignerDocDataService
Dim docCookie As UInteger
Dim lockType As UInteger
Dim readLocksRemaining As UInteger
Dim editLocksRemaining As UInteger
Dim returnValue As Integer
returnValue = CType(instance, IVsRunningDocTableEvents2).OnBeforeLastDocumentUnlock(docCookie, _
lockType, readLocksRemaining, editLocksRemaining)
int IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock(
uint docCookie,
uint lockType,
uint readLocksRemaining,
uint editLocksRemaining
)
private:
virtual int OnBeforeLastDocumentUnlock(
unsigned int docCookie,
unsigned int lockType,
unsigned int readLocksRemaining,
unsigned int editLocksRemaining
) sealed = IVsRunningDocTableEvents2::OnBeforeLastDocumentUnlock
JScript does not support explicit interface implementations.
Parameters
- docCookie
Type: System.UInt32
- lockType
Type: System.UInt32
- readLocksRemaining
Type: System.UInt32
- editLocksRemaining
Type: System.UInt32
Return Value
Type: System.Int32
Implements
IVsRunningDocTableEvents2.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)
Permissions
- 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.