Share via


CodeDomEventBindingService.GetCompatibleMethods Method

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Gets all the methods in the code DOM that are compatible with the specified event descriptor.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Protected Overrides Function GetCompatibleMethods ( _
    e As EventDescriptor _
) As ICollection
protected override ICollection GetCompatibleMethods(
    EventDescriptor e
)
protected:
virtual ICollection^ GetCompatibleMethods(
    EventDescriptor^ e
) override
abstract GetCompatibleMethods : 
        e:EventDescriptor -> ICollection  
override GetCompatibleMethods : 
        e:EventDescriptor -> ICollection
protected override function GetCompatibleMethods(
    e : EventDescriptor
) : ICollection

Parameters

Return Value

Type: ICollection
A collection of all the names of compatible methods.

See Also

Reference

CodeDomEventBindingService Class

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace