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

# H5T_GET_MEMBER_TYPE

The H5T_GET_MEMBER_TYPE function returns the datatype identifier for a specified member within a compound datatype.

## Syntax

Result = H5T_GET_MEMBER_TYPE(Datatype_id, Member)

## Return Value

Returns the datatype identifier. This identifier should be closed using H5T_CLOSE.

## 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_CLOSE, H5T_GET_MEMBER_CLASS, H5T_GET_MEMBER_NAME, H5T_GET_MEMBER_OFFSET, H5T_GET_NMEMBERS