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

# H5T_VLEN_CREATE

The H5T_VLEN_CREATE function creates a variable length array datatype object.

## Syntax

Result = H5T_VLEN_CREATE(Datatype_id)

## Return Value

Returns a long integer containing the identifier of the new variable length array datatype.

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

## Arguments

### Datatype_id

A long integer containing the datatype identifier to use when creating the variable length array datatype. All elements of the array will be of this datatype.

## Keywords

None

## Version History

6.3 | Introduced

## See Also

H5T_ARRAY_CREATE, H5T_IDL_CREATE, H5T_CLOSE