Compartilhar via


CodeDomEventBindingService.ShowCode Method (IComponent, EventDescriptor, String)

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]

Shows the body of the user code with the given method name and 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 ShowCode ( _
    component As IComponent, _
    e As EventDescriptor, _
    methodName As String _
) As Boolean
protected override bool ShowCode(
    IComponent component,
    EventDescriptor e,
    string methodName
)

Parameters

Return Value

Type: System.Boolean
true if it was possible to open the editor window, otherwise false.

See Also

Reference

CodeDomEventBindingService Class

ShowCode Overload

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