CodeDomEventBindingService.ShowCode Method (Int32)

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

‘선언
Protected Overrides Function ShowCode ( _
    lineNumber As Integer _
) As Boolean
‘사용 방법
Dim lineNumber As Integer
Dim returnValue As Boolean

returnValue = Me.ShowCode(lineNumber)
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: 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.

.NET Framework Security

See Also

Reference

CodeDomEventBindingService Class

CodeDomEventBindingService Members

ShowCode Overload

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