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

# H5D_GET_TYPE

The H5D_GET_TYPE function returns an identifier number for a copy of the datatype for a dataset.

## Syntax

Result = H5D_GET_TYPE(Dataset_id)

## Return Value

Returns the datatype’s identifier. This identifier can be released with the H5T_CLOSE.

## Arguments

### Dataset_id

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

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5T_CLOSE, H5D_GET_SPACE, H5D_GET_STORAGE_SIZE