IEventBindingService::ShowCode Method (Int32)

 

Displays the user code for the designer at the specified line.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

bool ShowCode(
	int lineNumber
)

Parameters

lineNumber
Type: System::Int32

The line number to place the caret on.

Return Value

Type: System::Boolean

true if the code is displayed; otherwise, false.

This method displays the code editor and positions the cursor on the specified line.

.NET Framework
Available since 1.1
Return to top
Show: