Udostępnij za pośrednictwem


Metoda DesignerDocDataService.IVsRunningDocTableEvents2.OnAfterFirstDocumentLock —

Wywoływana po zastosowaniu pierwszego lock określonego typu do dokumentu określonego w uruchomiony dokumentu tabeli (RDT).

Przestrzeń nazw:  Microsoft.VisualStudio.Shell.Design.Serialization
Zestaw:  Microsoft.VisualStudio.Shell.Design (w Microsoft.VisualStudio.Shell.Design.dll)

Składnia

'Deklaracja
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
)

Parametry

  • docCookie
    Typ: System.UInt32
    Identyfikator obiektu danych dokumentu w tabeli dokumentów z systemem.
  • lockType
    Typ: System.UInt32
    __VSRDTFLAGS wartości określające typu blokady.
  • readLocksRemaining
    Typ: System.UInt32
    Liczba blokad odczytu pozostałych.
  • editLocksRemaining
    Typ: System.UInt32
    Liczba blokad edycji pozostałych.

Wartość zwracana

Typ: System.Int32
Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, zwraca kod błędu.

Implementuje

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

Uwagi

Domyślnie ta metoda nie jest zaimplementowana.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DesignerDocDataService Klasa

Przestrzeń nazw Microsoft.VisualStudio.Shell.Design.Serialization