Click or drag to resize

ICommenceCursorSetColumn Method

Defines the column set for the cursor

Namespace:  Vovin.CmcLibNet.Database
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
bool SetColumn(
	int nColumn,
	string pName,
	CmcOptionFlags flags = CmcOptionFlags.Default
)

Parameters

nColumn
Type: SystemInt32
The (0-based) index of the column to set.
pName
Type: SystemString
Name of the field to use in this column.
flags (Optional)
Type: Vovin.CmcLibNet.DatabaseCmcOptionFlags
Logical OR of following option flags: All - create column set of all fields.

Return Value

Type: Boolean
true on succes, false on error.
Remarks
Do not skip or duplicate indexes. Related columns must come after the direct columns.

Using SetColumns(Object) offers a more convenient way to set columns.

See Also