EventBindingService::GetCompatibleMethods Method (EventDescriptor^)
.NET Framework (current version)
Returns a collection of names of compatible methods.
Assembly: System.Design (in System.Design.dll)
Parameters
- e
-
Type:
System.ComponentModel::EventDescriptor^
The EventDescriptor containing the compatible delegate.
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: