ModelingErrorListProvider.IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock Method

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Private Function OnBeforeLastDocumentUnlock ( _
    docCookie As UInteger, _
    dwRDTLockType As UInteger, _
    dwReadLocksRemaining As UInteger, _
    dwEditLocksRemaining As UInteger _
) As Integer Implements IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock
'使用
Dim instance As ModelingErrorListProvider
Dim docCookie As UInteger
Dim dwRDTLockType As UInteger
Dim dwReadLocksRemaining As UInteger
Dim dwEditLocksRemaining As UInteger
Dim returnValue As Integer

returnValue = CType(instance, IVsRunningDocTableEvents).OnBeforeLastDocumentUnlock(docCookie, _
    dwRDTLockType, dwReadLocksRemaining, _
    dwEditLocksRemaining)
int IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock(
    uint docCookie,
    uint dwRDTLockType,
    uint dwReadLocksRemaining,
    uint dwEditLocksRemaining
)
private:
virtual int OnBeforeLastDocumentUnlock(
    unsigned int docCookie, 
    unsigned int dwRDTLockType, 
    unsigned int dwReadLocksRemaining, 
    unsigned int dwEditLocksRemaining
) sealed = IVsRunningDocTableEvents::OnBeforeLastDocumentUnlock
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32

Implements

IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock(UInt32, UInt32, UInt32, UInt32)

Permissions

See Also

Reference

ModelingErrorListProvider Class

ModelingErrorListProvider Members

Microsoft.VisualStudio.Modeling.Shell Namespace