Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
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
)
protected:
virtual bool ShowCode(
    IComponent^ component, 
    EventDescriptor^ e, 
    String^ methodName
) override
abstract ShowCode : 
        component:IComponent * 
        e:EventDescriptor * 
        methodName:string -> bool  
override ShowCode : 
        component:IComponent * 
        e:EventDescriptor * 
        methodName:string -> bool
protected override function ShowCode(
    component : IComponent, 
    e : EventDescriptor, 
    methodName : String
) : boolean
Parameters
- component 
 Type: IComponent
- e 
 Type: EventDescriptor
- methodName 
 Type: String- The name of the method. 
Return Value
Type: Boolean
true if it was possible to open the editor window, otherwise false.
See Also
Reference
CodeDomEventBindingService Class
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace