Partager via


DesignerDocDataService.IVsRunningDocTableEvents2.OnAfterFirstDocumentLock, méthode

Appelé après le premier verrou du type spécifié soit appliqué au document spécifié dans la table en cours d'exécution (RDT) de document.

Espace de noms :  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly :  Microsoft.VisualStudio.Shell.Design (dans Microsoft.VisualStudio.Shell.Design.dll)

Syntaxe

'Déclaration
Private Function OnAfterFirstDocumentLock ( _
    docCookie As UInteger, _
    lockType As UInteger, _
    readLocksRemaining As UInteger, _
    editLocksRemaining As UInteger _
) As Integer Implements IVsRunningDocTableEvents2.OnAfterFirstDocumentLock
int IVsRunningDocTableEvents2.OnAfterFirstDocumentLock(
    uint docCookie,
    uint lockType,
    uint readLocksRemaining,
    uint editLocksRemaining
)

Paramètres

  • docCookie
    Type : System.UInt32
    L'identificateur de l'objet de données de document dans le Tableau de documents de exécution.
  • lockType
    Type : System.UInt32
    __VSRDTFLAGS évalue spécifier le type de verrou.
  • readLocksRemaining
    Type : System.UInt32
    Le numéro d'indiquer verrouille restant.
  • editLocksRemaining
    Type : System.UInt32
    Le numéro de modification verrouille restant.

Valeur de retour

Type : System.Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Implémentations

IVsRunningDocTableEvents2.OnAfterFirstDocumentLock(UInt32, UInt32, UInt32, UInt32)

Remarques

Par défaut cette méthode n'est pas implémentée.

Sécurité .NET Framework

Voir aussi

Référence

DesignerDocDataService Classe

Microsoft.VisualStudio.Shell.Design.Serialization, espace de noms