Function GenericRecord.fieldIndex

Returns index of the field with the given name.

ulong fieldIndex (
  string name
) const;