Bewerken

Share via


ICustomTypeDescriptor.GetDefaultEvent Method

Definition

Returns the default event for this instance of a component.

public:
 System::ComponentModel::EventDescriptor ^ GetDefaultEvent();
public System.ComponentModel.EventDescriptor GetDefaultEvent ();
public System.ComponentModel.EventDescriptor? GetDefaultEvent ();
abstract member GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
Public Function GetDefaultEvent () As EventDescriptor

Returns

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

Applies to

See also