EventBindingService::GetCompatibleMethods Method (EventDescriptor^)

 

Returns a collection of names of compatible methods.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

protected:
virtual ICollection^ GetCompatibleMethods(
	EventDescriptor^ e
) abstract

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
Return to top
Show: