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

# H5T_ENUM_CREATE

The H5T_ENUM_CREATE function creates an enumeration datatype object.

Note: Name/value pairs must be assigned to the datatype before it is used to create a dataset. The dataset stores the state of the datatype at the time the dataset is created; additional changes to the datatype will not be reflected in the dataset.

## Syntax

Result = H5T_ENUM_CREATE()

## Return Value

Returns a long integer containing the identifier of the new enumeration datatype.

Note: Datatype identifiers created by this function should be released with H5T_CLOSE.

## Arguments

None

## Keywords

None

## Version History

6.3 | Introduced

## See Also

H5T_ENUM_INSERT, H5T_CLOSE