EventBindingService.IEventBindingService.GetEvent(PropertyDescriptor) Method

Definition

Gets an EventDescriptor for the event that the specified property descriptor represents, if it represents an event.

System.ComponentModel.EventDescriptor IEventBindingService.GetEvent (System.ComponentModel.PropertyDescriptor property);
System.ComponentModel.EventDescriptor? IEventBindingService.GetEvent (System.ComponentModel.PropertyDescriptor property);

Parameters

property
PropertyDescriptor

The property that represents an event.

Returns

An EventDescriptor for the event that the property represents, or null if the property does not represent an event.

Implements

Applies to

Produk Versi
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.1, 5, 6, 7, 8, 9