Share via


CodeModelEventsClass Class

Definition

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

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

public ref class CodeModelEventsClass : EnvDTE80::CodeModelEvents
public ref class CodeModelEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class CodeModelEventsClass : EnvDTE80::CodeModelEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE80._dispCodeModelEvents\0")]
[System.Runtime.InteropServices.Guid("B2FA9979-35EB-4CA2-B467-7370152E53B7")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class CodeModelEventsClass : EnvDTE80.CodeModelEvents
[System.Runtime.InteropServices.Guid("B2FA9979-35EB-4CA2-B467-7370152E53B7")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE80._dispCodeModelEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class CodeModelEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE80._dispCodeModelEvents\0")>]
[<System.Runtime.InteropServices.Guid("B2FA9979-35EB-4CA2-B467-7370152E53B7")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type CodeModelEventsClass = class
    interface _CodeModelEvents
    interface CodeModelEvents
    interface _dispCodeModelEvents_Event
[<System.Runtime.InteropServices.Guid("B2FA9979-35EB-4CA2-B467-7370152E53B7")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE80._dispCodeModelEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type CodeModelEventsClass = class
Public Class CodeModelEventsClass
Implements CodeModelEvents
Public Class CodeModelEventsClass
Inheritance
CodeModelEventsClass
Attributes
Implements

Constructors

CodeModelEventsClass()

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

Microsoft Internal Use Only.

Methods

add_ElementAdded(_dispCodeModelEvents_ElementAddedEventHandler)
add_ElementChanged(_dispCodeModelEvents_ElementChangedEventHandler)
add_ElementDeleted(_dispCodeModelEvents_ElementDeletedEventHandler)
remove_ElementAdded(_dispCodeModelEvents_ElementAddedEventHandler)
remove_ElementChanged(_dispCodeModelEvents_ElementChangedEventHandler)
remove_ElementDeleted(_dispCodeModelEvents_ElementDeletedEventHandler)

Events

ElementAdded

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

Raised when a CodeElement object has been created. The new object is passed to the event handler.

ElementChanged

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

Raised when a CodeElement object has been changed.

ElementDeleted

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

Raised when a CodeElement is deleted.

Applies to