Partager via


CodeModelEventsClass Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Refer to CodeModelEvents for this functionality. Do not instantiate from this class.

Inheritance Hierarchy

Object
  EnvDTE80.CodeModelEventsClass

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
<GuidAttribute("B2FA9979-35EB-4CA2-B467-7370152E53B7")> _
<ClassInterfaceAttribute()> _
Public Class CodeModelEventsClass _
    Implements _CodeModelEvents, CodeModelEvents, _dispCodeModelEvents_Event
[GuidAttribute("B2FA9979-35EB-4CA2-B467-7370152E53B7")]
[ClassInterfaceAttribute()]
public class CodeModelEventsClass : _CodeModelEvents, 
    CodeModelEvents, _dispCodeModelEvents_Event
[GuidAttribute(L"B2FA9979-35EB-4CA2-B467-7370152E53B7")]
[ClassInterfaceAttribute()]
public ref class CodeModelEventsClass : _CodeModelEvents, 
    CodeModelEvents, _dispCodeModelEvents_Event
[<GuidAttribute("B2FA9979-35EB-4CA2-B467-7370152E53B7")>]
[<ClassInterfaceAttribute()>]
type CodeModelEventsClass =  
    class 
        interface _CodeModelEvents 
        interface CodeModelEvents 
        interface _dispCodeModelEvents_Event 
    end
public class CodeModelEventsClass implements _CodeModelEvents, CodeModelEvents, _dispCodeModelEvents_Event

The CodeModelEventsClass type exposes the following members.

Constructors

  Name Description
Public method CodeModelEventsClass Infrastructure. Microsoft Internal Use Only.

Top

Methods

  Name Description
Public method add_ElementAdded Infrastructure. Microsoft Internal Use Only.
Public method add_ElementChanged Infrastructure. Microsoft Internal Use Only.
Public method add_ElementDeleted 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_ElementAdded Infrastructure. Microsoft Internal Use Only.
Public method remove_ElementChanged Infrastructure. Microsoft Internal Use Only.
Public method remove_ElementDeleted 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 ElementAdded Raised when a CodeElement object has been created. The new object is passed to the event handler.
Public event ElementChanged Raised when a CodeElement object has been changed.
Public event ElementDeleted Raised when a CodeElement is deleted.

Top

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

EnvDTE80 Namespace