 | IBaseRowSetGetColumnIndex 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
Syntaxint GetColumnIndex(
string pLabel,
CmcOptionFlags flags = CmcOptionFlags.Default
)
Function GetColumnIndex (
pLabel As String,
Optional flags As CmcOptionFlags = CmcOptionFlags.Default
) As Integer
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:
Int320-based column index on success, -1 on error.
See Also