EventBindingService.IEventBindingService.GetCompatibleMethods Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of event-handler methods that have a method signature compatible with the specified event.
virtual System::Collections::ICollection ^ System.ComponentModel.Design.IEventBindingService.GetCompatibleMethods(System::ComponentModel::EventDescriptor ^ e) = System::ComponentModel::Design::IEventBindingService::GetCompatibleMethods;
System.Collections.ICollection IEventBindingService.GetCompatibleMethods (System.ComponentModel.EventDescriptor e);
abstract member System.ComponentModel.Design.IEventBindingService.GetCompatibleMethods : System.ComponentModel.EventDescriptor -> System.Collections.ICollection
override this.System.ComponentModel.Design.IEventBindingService.GetCompatibleMethods : System.ComponentModel.EventDescriptor -> System.Collections.ICollection
Function GetCompatibleMethods (e As EventDescriptor) As ICollection Implements IEventBindingService.GetCompatibleMethods
Parameters
The event to get the compatible event-handler methods for.
Returns
A collection of strings that are names of compatible methods.
Implements
Exceptions
e
is null
.
Remarks
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.