Delen via


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
Public method DocumentEventsClass Infrastructure. Microsoft Internal Use Only.

Top

Methods

  Name Description
Public method add_DocumentClosing Infrastructure. Microsoft Internal Use Only.
Public method add_DocumentOpened Infrastructure. Microsoft Internal Use Only.
Public method add_DocumentOpening Infrastructure. Microsoft Internal Use Only.
Public method add_DocumentSaved Infrastructure. Microsoft Internal Use Only.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method remove_DocumentClosing Infrastructure. Microsoft Internal Use Only.
Public method remove_DocumentOpened Infrastructure. Microsoft Internal Use Only.
Public method remove_DocumentOpening Infrastructure. Microsoft Internal Use Only.
Public method remove_DocumentSaved Infrastructure. Microsoft Internal Use Only.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event DocumentClosing Occurs just before a document is closed.
Public event DocumentOpened Occurs after a document is opened.
Public event DocumentOpening Occurs before a document is opened.
Public event 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.

See Also

Reference

EnvDTE Namespace