[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
H5T.enumCreate creates a new enumeration datatype based on the
specified base datatype parent_id, which must be an integer type.
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function enumCreate ( _ parentId As H5DataTypeId _ ) As H5DataTypeId |
| C# |
|---|
public static H5DataTypeId enumCreate ( H5DataTypeId parentId ) |
| C++ |
|---|
public: static H5DataTypeId^ enumCreate ( H5DataTypeId^ parentId ) |
Parameters
- parentId (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
| Exception | Condition |
|---|---|
| HDF5DotNet.H5TenumCreateException | throws H5TenumCreateException on failure. |