CustomTypeDescriptor.GetDefaultEvent 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 event descriptor for the default event of the object represented by this type descriptor.
public:
virtual System::ComponentModel::EventDescriptor ^ GetDefaultEvent();
public virtual System.ComponentModel.EventDescriptor GetDefaultEvent ();
public virtual System.ComponentModel.EventDescriptor? GetDefaultEvent ();
abstract member GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
override this.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
Public Overridable Function GetDefaultEvent () As EventDescriptor
Returns
The EventDescriptor for the default event on the object represented by this type descriptor. The default is null
.
Implements
Remarks
If a parent custom type descriptor was passed into the CustomTypeDescriptor constructor, the GetDefaultEvent method will call the parent's corresponding method.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.