get_field_index


Description:

[ Version ( since = "0.12.0" ) ]
public int get_field_index (string name)

Parameters:

this

A StructDataType.

name

The name of the target field.

Returns:

The index of the target index in the struct data type or `-1` on not found.