VirtualTypeBuilder.EventInfoCollection Class
Represents the collection of events. This class cannot be inherited.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
System.Collections.CollectionBase
Microsoft.VisualStudio.Shell.Design.VirtualTypeBuilder.EventInfoCollection
| Name | Description | |
|---|---|---|
![]() | Capacity | (Inherited from CollectionBase.) |
![]() | Count | (Inherited from CollectionBase.) |
![]() | Item[Int32] | Gets or sets the event at the specified index. |
| Name | Description | |
|---|---|---|
![]() | Add(EventInfo) | Adds an EventInfo to the end of the collection. |
![]() | Add(String, Type) | Adds an EventInfo to the end of the collection. |
![]() | Add(String, Type, Attribute[]) | Adds an EventInfo to the end of the collection. |
![]() | Add(String, Type, Attribute[], MethodAttributes) | Adds an EventInfo to the end of the collection. |
![]() | Clear() | (Inherited from CollectionBase.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetEnumerator() | (Inherited from CollectionBase.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | Remove(EventInfo) | Removes the first occurrence of a specific EventInfo from the collection. |
![]() | RemoveAt(Int32) | (Inherited from CollectionBase.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection.CopyTo(Array, Int32) | (Inherited from CollectionBase.) |
![]() ![]() | IList.Add(Object) | (Inherited from CollectionBase.) |
![]() ![]() | IList.Contains(Object) | (Inherited from CollectionBase.) |
![]() ![]() | IList.IndexOf(Object) | (Inherited from CollectionBase.) |
![]() ![]() | IList.Insert(Int32, Object) | (Inherited from CollectionBase.) |
![]() ![]() | IList.Remove(Object) | (Inherited from CollectionBase.) |
Only EventInfo objects should be added to this collection. VirtualTypeBuilder.EventInfoCollection is nested inside of VirtualTypeBuilder due to its specific behavior related to virtual types.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



