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

# H5T_GET_MEMBER_NAME

The H5T_GET_MEMBER_NAME function retrieves the name of a compound or enumeration datatype member.

## Syntax

Result = H5T_GET_MEMBER_NAME(Datatype_id, Member)

## Return Value

Returns a string containing the name of the specified datatype member.

## Arguments

### Datatype_id

A long integer containing the identifier of the compound or enumeration datatype.

### Member

An integer containing the member index. Member indices are zero-based.

## Keywords

None

## Version History

5.6 | Introduced
6.3 | Added support for enumeration datatypes

## See Also

H5T_GET_MEMBER_CLASS, H5T_GET_MEMBER_OFFSET, H5T_GET_MEMBER_TYPE, H5T_GET_NMEMBERS