Represents a collection of System.ComponentModel.EventDescriptor objects.
See Also: EventDescriptorCollection Members
System.ComponentModel.EventDescriptorCollection is read-only; it does not implement methods that add or remove events. You must inherit from this class to implement these methods.
Using the properties available in the System.ComponentModel.EventDescriptorCollection class, you can query the collection about its contents. Use the EventDescriptorCollection.Count property to determine the number of elements in the collection. Use the EventDescriptorCollection.Item(int) property to get a specific property by index number or by name.
You can also use the EventDescriptorCollection.Find(string, bool) method to get a description of the event with the specified name from the collection.