 | 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
Syntaxbool SetColumn(
int nColumn,
string pName,
CmcOptionFlags flags = CmcOptionFlags.Default
)
Function SetColumn (
nColumn As Integer,
pName As String,
Optional flags As CmcOptionFlags = CmcOptionFlags.Default
) As Boolean
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:
Booleantrue on succes,
false on error.
RemarksDo 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