Export (0) Print
Expand All

Visual Basic Extensibility Reference

Visual Studio 6.0

SetSelection Method

See Also   Example   Applies To   Specifics

Sets the selection in the code pane.

Syntax

object.SetSelection(startline, startcol, endline, endcol)

The SetSelection syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
startline Required. A Long specifying the first line of the selection.
startcol Required. A Long specifying the first column of the selection.
endline Required. A Long specifying the last line of the selection.
endcol Required. A Long specifying the last column of the selection.

Show:
© 2014 Microsoft