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
'Dichiarazione
Protected Overrides Function ShowCode ( _
lineNumber As Integer _
) As Boolean
'Utilizzo
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CodeDomEventBindingService Class
CodeDomEventBindingService Members
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace