Click or drag to resize

DataBrowser.SetColumn Method (Typed)

X#
Replace an existing column in the data browser with another column.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD SetColumn(
	oDataColumn AS DataColumn,
	nColumnNumber AS LONG
) AS DataColumn
Request Example View Source

Parameters

oDataColumn
Type: DataColumn
The new data column.
nColumnNumber
Type: Long
The column to be replaced. The number must be within the range of columns in the data browser; this method does not append a column at the end.

Return Value

Type: DataColumn
The replaced data column, if successful; otherwise, NULL_OBJECT.
See Also