Click or drag to resize

ListView.InsertColumn Method (Typed)

X#
Insert a new ListViewColumn object after a particular column index in the list view.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD InsertColumn(
	oListViewColumn AS ListViewColumn,
	 nInsertAfter AS LONG
) AS LOGIC
Request Example View Source

Parameters

oListViewColumn
Type: ListViewColumn
The ListViewColumn object to insert in the list view.
nInsertAfter
Type: Long
The position after which to insert the new column. If omitted, the new column is added to the end of the column list.

Return Value

Type: Logic
TRUE if the column was inserted successfully; otherwise, FALSE.
See Also