語言

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

事件用來取得相容的事件處理方法。

傳回

一組字串,這些字串是相容方法的名稱。

實作

例外狀況

e 是 null。

備註

集合中回傳的每個字串都是與中 e代理相容的簽章方法的方法名稱。 GetCompatibleMethods 如果沒有相容的名稱,應該會回傳一個空集合。

適用於

另請參閱