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

EventDescriptor

表示此对象的默认事件的 EventDescriptor;如果该对象没有事件,则为 nullAn 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. 它只能在 DbConnectionStringBuilder 实例被强制转换为 ICustomTypeDescriptor 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an ICustomTypeDescriptor interface.

有关此成员的说明,请参见 GetDefaultEventFor a description of this member, see GetDefaultEvent.

Applies to

See also