[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates a new dataspace of a specified type.
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function create ( _ createClass As H5SClass _ ) As H5DataSpaceId |
| C# |
|---|
public static H5DataSpaceId create ( H5S.H5SClass createClass ) |
| C++ |
|---|
public: static H5DataSpaceId^ create ( H5SClass createClass ) |
Parameters
- createClass (H5SClass)
- The type of dataspace to be created.
Return Value
Returns a dataspace identifier if successful.
Remarks
H5Screate creates a new dataspace of a particular type. The
types currently supported are H5SClass.SCALAR and H5SClass.SIMPLE;
others are planned to be added later.
Exceptions
| Exception | Condition |
|---|---|
| HDF5DotNet.H5ScreateException | throws H5ScreateException on failure. |