ExistingElementEventManager.Add(Guid, Delegate) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a handler for events on a particular ModelElement
public:
void Add(Guid elementId, Delegate ^ handler);
public void Add (Guid elementId, Delegate handler);
override this.Add : Guid * Delegate -> unit
Public Sub Add (elementId As Guid, handler As Delegate)
Parameters
- elementId
- Guid
The Id of the element
- handler
- Delegate
The handler to add