Bewerken

Share via


DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultEvent Method

Definition

Returns the default event for this instance of a component.

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

Returns

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

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

For a description of this member, see GetDefaultEvent.

Applies to

See also