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

# H5T_GET_TAG

The H5T_GET_TAG function retrieves a tag string from an opaque data type.

## Syntax

Result = H5T_GET_TAG(Datatype_id)

## Return Value

Returns a string containing the tag associated with the specified opaque datatype, or an empty string if no tag exists.

## Arguments

### Datatype_id

A long integer containing the identifier of the opaque datatype.

## Keywords

None

## Version History

6.3 | Introduced

## See Also

H5T_IDL_CREATE, H5T_SET_TAG