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
'宣言
Protected Overrides Function GetCompatibleMethods ( _
e As EventDescriptor _
) As ICollection
'使用
Dim e As EventDescriptor
Dim returnValue As ICollection
returnValue = Me.GetCompatibleMethods(e)
protected override ICollection GetCompatibleMethods(
EventDescriptor e
)
protected:
virtual ICollection^ GetCompatibleMethods(
EventDescriptor^ e
) override
protected override function GetCompatibleMethods(
e : EventDescriptor
) : ICollection
Parameters
Return Value
Type: System.Collections.ICollection
A collection of all the names of compatible methods.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CodeDomEventBindingService Class
CodeDomEventBindingService Members
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace