共用方式為


VirtualTypeBuilder.EventInfoCollection.Add Method

Include Protected Members
Include Inherited Members

Adds an EventInfo to the end of the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Add(EventInfo) Adds an EventInfo to the end of the collection.
Public method Add(String, Type) Adds an EventInfo to the end of the collection.
Public method Add(String, Type, array<Attribute[]) Adds an EventInfo to the end of the collection.
Public method Add(String, Type, array<Attribute[], MethodAttributes) Adds an EventInfo to the end of the collection.

Top

See Also

Reference

VirtualTypeBuilder.EventInfoCollection Class

Microsoft.VisualStudio.Shell.Design Namespace