VirtualTypeBuilder::EventInfoCollection::Add Method (String^, Type^)
Visual Studio 2015
Adds an EventInfo to the end of the collection.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Parameters
- name
-
Type:
System::String^
The name of the event to add.
- handlerType
-
Type:
System::Type^
The type of delegate this event represents.
| Exception | Condition |
|---|---|
| ArgumentNullException | name or handlerType is null. |
| ArgumentException | handlerType is not a run-time type. |
Show: