Edit

Share via


EventBindingService.GetCompatibleMethods(EventDescriptor) Method

Definition

Returns a collection of names of compatible methods.

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

Parameters

e
EventDescriptor

The EventDescriptor containing the compatible delegate.

Returns

A collection of strings that are names of compatible methods.

Exceptions

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.

Applies to

See also