Klasa DocumentEventsClass

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Microsoft tylko do użytku wewnętrznego.

Hierarchia dziedziczenia

Object
  EnvDTE.DocumentEventsClass

Przestrzeń nazw:  EnvDTE
Zestaw:  EnvDTE (w EnvDTE.dll)

Składnia

'Deklaracja
<GuidAttribute("DC5437F7-F114-11D2-AACF-00C04F688DDE")> _
<ClassInterfaceAttribute()> _
Public Class DocumentEventsClass _
    Implements _DocumentEvents, DocumentEvents, _dispDocumentEvents_Event
[GuidAttribute("DC5437F7-F114-11D2-AACF-00C04F688DDE")]
[ClassInterfaceAttribute()]
public class DocumentEventsClass : _DocumentEvents, 
    DocumentEvents, _dispDocumentEvents_Event
[GuidAttribute(L"DC5437F7-F114-11D2-AACF-00C04F688DDE")]
[ClassInterfaceAttribute()]
public ref class DocumentEventsClass : _DocumentEvents, 
    DocumentEvents, _dispDocumentEvents_Event
[<GuidAttribute("DC5437F7-F114-11D2-AACF-00C04F688DDE")>]
[<ClassInterfaceAttribute()>]
type DocumentEventsClass =  
    class 
        interface _DocumentEvents 
        interface DocumentEvents 
        interface _dispDocumentEvents_Event 
    end
public class DocumentEventsClass implements _DocumentEvents, DocumentEvents, _dispDocumentEvents_Event

Typ DocumentEventsClass uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda publiczna DocumentEventsClass Infrastruktura. Microsoft tylko do użytku wewnętrznego.

Początek

Metody

  Nazwa Opis
Metoda publiczna add_DocumentClosing Infrastruktura. Microsoft tylko do użytku wewnętrznego.
Metoda publiczna add_DocumentOpened Infrastruktura. Microsoft tylko do użytku wewnętrznego.
Metoda publiczna add_DocumentOpening Infrastruktura. Microsoft tylko do użytku wewnętrznego.
Metoda publiczna add_DocumentSaved Infrastruktura. Microsoft tylko do użytku wewnętrznego.
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna remove_DocumentClosing Infrastruktura. Microsoft tylko do użytku wewnętrznego.
Metoda publiczna remove_DocumentOpened Infrastruktura. Microsoft tylko do użytku wewnętrznego.
Metoda publiczna remove_DocumentOpening Infrastruktura. Microsoft tylko do użytku wewnętrznego.
Metoda publiczna remove_DocumentSaved Infrastruktura. Microsoft tylko do użytku wewnętrznego.
Metoda publiczna ToString Returns a string that represents the current object. (Odziedziczone z Object).

Początek

Zdarzenia

  Nazwa Opis
Zdarzenie publiczne DocumentClosing Występuje po prostu, przed zamknięciem dokumentu.
Zdarzenie publiczne DocumentOpened Występuje po otwarciu dokumentu.
Zdarzenie publiczne DocumentOpening Występuje przed otwarciem dokumentu.
Zdarzenie publiczne DocumentSaved Występuje, gdy dokument zostanie zapisany.

Początek

Uwagi

Odnoszą się do DocumentEvents dla tej funkcji.Tworzy wystąpienia tej klasy.

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw EnvDTE