Share via


ExistingElementEventManager.Add(Guid, Delegate) Method

Definition

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

Applies to