EventBindingService.GetCompatibleMethods(EventDescriptor) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一組相容方法名稱。
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
參數
EventDescriptor包含相容的代表。
傳回
一組字串,這些字串是相容方法的名稱。
例外狀況
e 是 null。
備註
集合中回傳的每個字串都是與中 e代理相容的簽章方法的方法名稱。
GetCompatibleMethods 如果沒有相容的名稱,應該會回傳一個空集合。