Method GetOrdinal
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
GetOrdinal(string)
Gets the zero-based source field position that the specified mapping reads from in a headerless import (the value supplied to AddMapping(int, string, DataType), or the order of addition for a string mapping).
public int GetOrdinal(string header)
Parameters
headerstringThe mapping's header key.
Returns
- int
The zero-based source field index.