DocumentEventsClass Class
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Inheritance Hierarchy
System.Object
EnvDTE.DocumentEventsClass
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
<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
The DocumentEventsClass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DocumentEventsClass | Infrastructure. Microsoft Internal Use Only. |
Top
Methods
Name | Description | |
---|---|---|
add_DocumentClosing | Infrastructure. Microsoft Internal Use Only. | |
add_DocumentOpened | Infrastructure. Microsoft Internal Use Only. | |
add_DocumentOpening | Infrastructure. Microsoft Internal Use Only. | |
add_DocumentSaved | Infrastructure. Microsoft Internal Use Only. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
remove_DocumentClosing | Infrastructure. Microsoft Internal Use Only. | |
remove_DocumentOpened | Infrastructure. Microsoft Internal Use Only. | |
remove_DocumentOpening | Infrastructure. Microsoft Internal Use Only. | |
remove_DocumentSaved | Infrastructure. Microsoft Internal Use Only. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
DocumentClosing | Occurs just before a document is closed. | |
DocumentOpened | Occurs after a document is opened. | |
DocumentOpening | Occurs before a document is opened. | |
DocumentSaved | Occurs when a document is saved. |
Top
Remarks
Refer to DocumentEvents for this functionality. Do not instantiate this class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.