[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 ( _ h5Type As H5Type _ ) As H5DataTypeId |
| C# |
|---|
public static H5DataTypeId enumCreate ( H5T.H5Type h5Type ) |
| C++ |
|---|
public: static H5DataTypeId^ enumCreate ( H5Type h5Type ) |
Parameters
- h5Type (H5Type)
- IN: Datatype identifier for the base type.
Return Value
Returns the datatype identifier for the new enumeration datatype if successful.
Exceptions
| Exception | Condition |
|---|---|
| HDF5DotNet.H5TenumCreateException | throws H5TenumCreateException on failure. |