EventBindingService.GetCompatibleMethods(EventDescriptor) 方法

定義

傳回相容方法的名稱集合。

protected:
 abstract System::Collections::ICollection ^ GetCompatibleMethods(System::ComponentModel::EventDescriptor ^ e);
protected abstract System.Collections.ICollection GetCompatibleMethods (System.ComponentModel.EventDescriptor e);
abstract member GetCompatibleMethods : System.ComponentModel.EventDescriptor -> System.Collections.ICollection
Protected MustOverride Function GetCompatibleMethods (e As EventDescriptor) As ICollection

參數

e
EventDescriptor

EventDescriptor,包含相容的委派。

傳回

相容方法之名稱的字串集合。

例外狀況

enull

備註

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

適用於

另請參閱