Skip Navigation Links.

H5T..::..enumCreate Method (H5DataTypeId)

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 ( _
	parentId As H5DataTypeId _
) As H5DataTypeId
C#
public static H5DataTypeId enumCreate(
	H5DataTypeId parentId
)
Visual C++
public:
static H5DataTypeId^ enumCreate(
	H5DataTypeId^ parentId
)
JavaScript
HDF5DotNet.H5T.enumCreate = function(parentId);

Parameters

parentId
Type: HDF5DotNet..::..H5DataTypeId
IN: Datatype identifier for the base type. This must be an integer type.

Return Value

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

Exceptions

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

See Also