Uwaga
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 | |
---|---|---|
![]() |
DocumentEventsClass | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
Początek
Metody
Nazwa | Opis | |
---|---|---|
![]() |
add_DocumentClosing | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
![]() |
add_DocumentOpened | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
![]() |
add_DocumentOpening | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
![]() |
add_DocumentSaved | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Odziedziczone z Object). |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object). |
![]() |
GetHashCode | Serves as the default hash function. (Odziedziczone z Object). |
![]() |
GetType | Gets the Type of the current instance. (Odziedziczone z Object). |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Odziedziczone z Object). |
![]() |
remove_DocumentClosing | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
![]() |
remove_DocumentOpened | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
![]() |
remove_DocumentOpening | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
![]() |
remove_DocumentSaved | Infrastruktura. Microsoft tylko do użytku wewnętrznego. |
![]() |
ToString | Returns a string that represents the current object. (Odziedziczone z Object). |
Początek
Zdarzenia
Nazwa | Opis | |
---|---|---|
![]() |
DocumentClosing | Występuje po prostu, przed zamknięciem dokumentu. |
![]() |
DocumentOpened | Występuje po otwarciu dokumentu. |
![]() |
DocumentOpening | Występuje przed otwarciem dokumentu. |
![]() |
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.