Partilhar 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

'Declaração
Protected Overrides Function GetCompatibleMethods ( _
    e As EventDescriptor _
) As ICollection
protected override ICollection GetCompatibleMethods(
    EventDescriptor e
)

Parameters

Return Value

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

See Also

Reference

CodeDomEventBindingService Class

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