ICustomTypeDescriptor.GetEventsFromRegisteredType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the events for this instance of a component that might be registered.
public:
virtual System::ComponentModel::EventDescriptorCollection ^ GetEventsFromRegisteredType();
public virtual System.ComponentModel.EventDescriptorCollection GetEventsFromRegisteredType ();
abstract member GetEventsFromRegisteredType : unit -> System.ComponentModel.EventDescriptorCollection
override this.GetEventsFromRegisteredType : unit -> System.ComponentModel.EventDescriptorCollection
Public Overridable Function GetEventsFromRegisteredType () As EventDescriptorCollection
Returns
An EventDescriptorCollection that represents the events for this component instance.
Remarks
The events for this instance can differ from the set of events that the class provides. For example, if the component is site-based, the site can add or remove additional events.
Implementors can return EventDescriptorCollection.Empty if no properties are specified. This method should never return null
.