Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Add a handler for events on a particular element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub Add ( _
elementId As Guid, _
handler As Delegate _
)
public void Add(
Guid elementId,
Delegate handler
)
public:
void Add(
Guid elementId,
Delegate^ handler
)
member Add :
elementId:Guid *
handler:Delegate -> unit
public function Add(
elementId : Guid,
handler : Delegate
)
Parameters
elementId
Type: System.GuidThe ID of the element.
handler
Type: System.DelegateThe handler to add.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.