EventBindingService.IEventBindingService.GetCompatibleMethods 方法

定义

获取具有与指定事件兼容的方法签名的事件处理程序方法的集合。

 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

参数

e
EventDescriptor

要为其获取兼容事件处理程序方法的事件。

返回

作为兼容方法名称的字符串的集合。

实现

例外

enull

注解

集合中返回的每个字符串都是其签名与所包含 e委托兼容的方法的方法名称。 GetCompatibleMethods 如果没有名称兼容,应返回空集合。

适用于

另请参阅