DbConnectionStringBuilder.ICustomTypeDescriptor.GetDefaultEvent 方法

定义

返回某个组件的此实例的默认事件。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

返回

EventDescriptor

表示此对象的默认事件的 EventDescriptor ;如果该对象没有事件,则为 nullAn EventDescriptor that represents the default event for this object, or null if this object does not have events.

实现

注解

此成员是显式接口成员的实现。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.

适用于

另请参阅