AxHost.ICustomTypeDescriptor.GetDefaultEvent 方法

定义

返回当前对象的默认事件。Returns the default event for the current object.

 virtual System::ComponentModel::EventDescriptor ^ System.ComponentModel.ICustomTypeDescriptor.GetDefaultEvent() = System::ComponentModel::ICustomTypeDescriptor::GetDefaultEvent;
System.ComponentModel.EventDescriptor ICustomTypeDescriptor.GetDefaultEvent ();
Function GetDefaultEvent () As EventDescriptor Implements ICustomTypeDescriptor.GetDefaultEvent

返回

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

实现

适用于