Routines (alphabetical) > Routines: H > HDF5 Routines > H5T_GET_MEMBER_CLASS

# H5T_GET_MEMBER_CLASS

The H5T_GET_MEMBER_CLASS function returns the datatype class of a compound datatype member.

## Syntax

Result = H5T_GET_MEMBER_CLASS(Datatype_id, Member)

## Return Value

Returns a string containing the datatype class. Possible values are:

- ‘H5T_INTEGER’
- ‘H5T_FLOAT’
- ‘H5T_TIME’
- ‘H5T_STRING’
- ‘H5T_BITFIELD’
- ‘H5T_OPAQUE’
- ‘H5T_COMPOUND’
- ‘H5T_REFERENCE’
- ‘H5T_ENUM’
- ‘H5T_VLEN’
- ‘H5T_ARRAY’
- ‘H5T_NO_CLASS’

## Arguments

### Datatype_id

An integer representing the datatype’s identifier to be queried.

### Member

An integer representing the member index, starting at zero.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5T_GET_MEMBER_NAME, H5T_GET_MEMBER_OFFSET, H5T_GET_MEMBER_TYPE, H5T_GET_NMEMBERS