Click or drag to resize

CommenceQueryRowSetGetColumnIndex Method

Search the column set and return the index of the column with the given label

Namespace:  Vovin.CmcLibNet.Database
Assembly:  Vovin.CmcLibNet (in Vovin.CmcLibNet.dll) Version: 1.0.7729.42686
Syntax
public override int GetColumnIndex(
	string pLabel,
	CmcOptionFlags flags = CmcOptionFlags.Default
)

Parameters

pLabel
Type: SystemString
The column label to map.
flags (Optional)
Type: Vovin.CmcLibNet.DatabaseCmcOptionFlags
Logical OR of following option flags: CmcOptionFlags.Fieldname - return field label (ignore view labels).

Return Value

Type: Int32
0-based column index on success, -1 on error.

Implements

ICommenceQueryRowSetGetColumnIndex(String, CmcOptionFlags)
IBaseRowSetGetColumnIndex(String, CmcOptionFlags)
IBaseRowSetGetColumnIndex(String, CmcOptionFlags)
See Also