ICustomTypeDescriptor.GetDefaultEvent Method ()

 

Returns the default event for this instance of a component.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

abstract GetDefaultEvent : unit -> EventDescriptor

Return Value

Type: System.ComponentModel.EventDescriptor

An EventDescriptor that represents the default event for this object, or null if this object does not have events.

.NET Framework
Available since 1.1
Return to top
Show: