Method GetFieldValue
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
GetFieldValue(int, DataType)
Gets the value of a field at the specified index, returned as the CLR type that corresponds to dataType.
public object GetFieldValue(int fieldIndex, DataType dataType)
Parameters
fieldIndexintThe zero-based column index.
dataTypeDataTypeThe DataType that controls which typed getter is used.
Returns
GetFieldValue(string, DataType)
Gets the value of a named field, returned as the CLR type that corresponds to dataType.
public virtual object GetFieldValue(string fieldName, DataType dataType)
Parameters
fieldNamestringThe column name.
dataTypeDataTypeThe DataType that controls which typed getter is used.