EventBindingService.IEventBindingService.GetEvent(PropertyDescriptor) 方法

定义

为指定属性说明符(如果它表示事件)所表示的事件获取 EventDescriptor

 virtual System::ComponentModel::EventDescriptor ^ System.ComponentModel.Design.IEventBindingService.GetEvent(System::ComponentModel::PropertyDescriptor ^ property) = System::ComponentModel::Design::IEventBindingService::GetEvent;
System.ComponentModel.EventDescriptor IEventBindingService.GetEvent (System.ComponentModel.PropertyDescriptor property);
System.ComponentModel.EventDescriptor? IEventBindingService.GetEvent (System.ComponentModel.PropertyDescriptor property);
abstract member System.ComponentModel.Design.IEventBindingService.GetEvent : System.ComponentModel.PropertyDescriptor -> System.ComponentModel.EventDescriptor
override this.System.ComponentModel.Design.IEventBindingService.GetEvent : System.ComponentModel.PropertyDescriptor -> System.ComponentModel.EventDescriptor
Function GetEvent (property As PropertyDescriptor) As EventDescriptor Implements IEventBindingService.GetEvent

参数

property
PropertyDescriptor

表示事件的属性。

返回

属性所表示的事件的 EventDescriptor,或者在属性不表示事件的情况下为 null

实现

适用于