EventBindingService::IEventBindingService::GetCompatibleMethods Method (EventDescriptor^)
.NET Framework (current version)
Gets a collection of event-handler methods that have a method signature compatible with the specified event.
Assembly: System.Design (in System.Design.dll)
private: virtual ICollection^ GetCompatibleMethods( EventDescriptor^ e ) sealed = IEventBindingService::GetCompatibleMethods
Parameters
- e
-
Type:
System.ComponentModel::EventDescriptor^
The event to get the compatible event-handler methods for.
Return Value
Type: System.Collections::ICollection^A collection of strings that are names of compatible methods.
| Exception | Condition |
|---|---|
| ArgumentNullException | e is null. |
Each string returned in the collection is the method name of a method whose signature is compatible with the delegate contained in e. GetCompatibleMethods should return an empty collection if no names are compatible.
.NET Framework
Available since 2.0
Available since 2.0
Show: