Partilhar via


CodeDomEventBindingService.ShowCode Method (Int32)

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]

Displays the code at the specified line.

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 ( _
    lineNumber As Integer _
) As Boolean
protected override bool ShowCode(
    int lineNumber
)

Parameters

  • lineNumber
    Type: System.Int32
    The line of the code to display.

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