EventBindingService.GetCompatibleMethods(EventDescriptor) 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.
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
The EventDescriptor containing the compatible delegate.
Returns
A collection of strings that are names of compatible methods.
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.