Skip Navigation Links.

H5T..::..enumCreate Method (H5T..::..H5Type)

H5T.enumCreate creates a new enumeration datatype based on the specified base datatype parent_id, which must be an integer type. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-EnumCreate

Namespace:  HDF5DotNet
Assembly:  HDF5DotNet (in HDF5DotNet.dll)

Syntax

Visual Basic
Public Shared Function enumCreate ( _
	h5Type As H5T..::..H5Type _
) As H5DataTypeId
C#
public static H5DataTypeId enumCreate(
	H5T..::..H5Type h5Type
)
Visual C++
public:
static H5DataTypeId^ enumCreate(
	H5T..::..H5Type h5Type
)
JavaScript
HDF5DotNet.H5T.enumCreate = function(h5Type);

Parameters

h5Type
Type: HDF5DotNet..::..H5T..::..H5Type
IN: Datatype identifier for the base type.

Return Value

Returns the datatype identifier for the new enumeration datatype if successful.

Exceptions

ExceptionCondition
HDF5DotNet..::..H5TenumCreateException throws H5TenumCreateException on failure.

See Also