get_field_type


Description:

public Type get_field_type (string fieldname)

Finds the field with the given name, and returns the type of the value it contains.

If the field is not found, G_TYPE_INVALID is returned.

Parameters:

this

a Structure

fieldname

the name of the field

Returns:

the Value of the field