แก้ไข

แชร์ผ่าน


EventBindingService.IEventBindingService.GetCompatibleMethods Method

Definition

Gets a collection of event-handler methods that have a method signature compatible with the specified event.

 virtual System::Collections::ICollection ^ System.ComponentModel.Design.IEventBindingService.GetCompatibleMethods(System::ComponentModel::EventDescriptor ^ e) = System::ComponentModel::Design::IEventBindingService::GetCompatibleMethods;
System.Collections.ICollection IEventBindingService.GetCompatibleMethods (System.ComponentModel.EventDescriptor e);
abstract member System.ComponentModel.Design.IEventBindingService.GetCompatibleMethods : System.ComponentModel.EventDescriptor -> System.Collections.ICollection
override this.System.ComponentModel.Design.IEventBindingService.GetCompatibleMethods : System.ComponentModel.EventDescriptor -> System.Collections.ICollection
Function GetCompatibleMethods (e As EventDescriptor) As ICollection Implements IEventBindingService.GetCompatibleMethods

Parameters

e
EventDescriptor

The event to get the compatible event-handler methods for.

Returns

A collection of strings that are names of compatible methods.

Implements

Exceptions

Remarks

Each string returned in the collection is the method name of a method whose signature is compatible with the delegate contained in e. GetCompatibleMethods should return an empty collection if no names are compatible.

Applies to

See also