[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
H5T.create creates a new data type of the specified class with
the specified number of bytes.
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function create ( _ createClass As CreateClass, _ size As UInteger _ ) As H5DataTypeId |
| C# |
|---|
public static H5DataTypeId create ( H5T.CreateClass createClass, uint size ) |
| C++ |
|---|
public: static H5DataTypeId^ create ( CreateClass createClass, unsigned int size ) |
Parameters
- createClass (CreateClass)
- Available create classes include COMPOUND, OPAQUE, and ENUM.
- size (UInt32)
- Number of bytes in the created data type.
Return Value
a vaild H5DataTypeId for the created data type
Remarks
Use H5Tcopy to create integer or floating point data types.
Exceptions
| Exception | Condition |
|---|---|
| HDF5DotNet.H5TopenException | throws H5TopenException when open fails |