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 如果沒有相容的名稱,應該會回傳一個空集合。

適用於

另請參閱