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

# H5A_GET_TYPE

The H5A_GET_TYPE function returns the identifier number of a copy of the datatype for an attribute.

## Syntax

Result = H5A_GET_TYPE(Attribute_id)

## Return Value

Returns the datatype identifier. This identifier should be released with the H5T_CLOSE.

## Arguments

### Attribute_id

An integer representing the attribute identifier to be queried.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5A_GET_SPACE, H5A_GET_NAME, H5T_CLOSE