Compartir a través de


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

'Declaration
Protected Overrides Function ShowCode ( _
    lineNumber As Integer _
) As Boolean
protected override bool ShowCode(
    int lineNumber
)
protected:
virtual bool ShowCode(
    int lineNumber
) override
abstract ShowCode : 
        lineNumber:int -> bool  
override ShowCode : 
        lineNumber:int -> bool
protected override function ShowCode(
    lineNumber : int
) : boolean

Parameters

  • lineNumber
    Type: Int32

    The line of the code to display.

Return Value

Type: 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