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.

實作

適用於