Partager via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetDefaultEvent Method

Definition

Retrieves the default event for the specified object.

 virtual System::ComponentModel::EventDescriptor ^ System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent() = System::ComponentModel::ICustomTypeDescriptor::GetDefaultEvent;
System.ComponentModel.EventDescriptor ICustomTypeDescriptor.GetDefaultEvent ();
override this.System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent : unit -> System.ComponentModel.EventDescriptor
Function GetDefaultEvent () As EventDescriptor Implements ICustomTypeDescriptor.GetDefaultEvent

Returns

Returns an EventDescriptor representing the default event for the specified object, or returns null if this object does not have events.

Implements

Applies to