CodeModelEvents Interface

 

Defines events supported by the CodeModel object. Refer to CodeModelEventsClass for this object's documentation.

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

[GuidAttribute("66ADC510-0CA2-475D-A343-57192BCE38BF")]
public interface CodeModelEvents : _CodeModelEvents, _dispCodeModelEvents_Event

NameDescription
System_CAPS_pubmethodadd_ElementAdded(_dispCodeModelEvents_ElementAddedEventHandler)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

System_CAPS_pubmethodadd_ElementChanged(_dispCodeModelEvents_ElementChangedEventHandler)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

System_CAPS_pubmethodadd_ElementDeleted(_dispCodeModelEvents_ElementDeletedEventHandler)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

System_CAPS_pubmethodremove_ElementAdded(_dispCodeModelEvents_ElementAddedEventHandler)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

System_CAPS_pubmethodremove_ElementChanged(_dispCodeModelEvents_ElementChangedEventHandler)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

System_CAPS_pubmethodremove_ElementDeleted(_dispCodeModelEvents_ElementDeletedEventHandler)

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

NameDescription
System_CAPS_pubeventElementAdded

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

System_CAPS_pubeventElementChanged

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

System_CAPS_pubeventElementDeleted

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispCodeModelEvents_Event.)

System_CAPS_noteNote

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same.

Dim WithEvents oCodeModelEvents As EnvDTE80.CodeModelEvents
Public Sub OnCodeElementAdded(ByVal NewElement As EnvDTE.CodeElement) _
  Handles oCodeModelEvents.ElementAdded
    MsgBox(NewElement.Name + "(Kind=" + Str(NewElement.Kind) + ") was _
      added.")
End Sub
Return to top
Show: