Skip Navigation Links.

H5S..::..create Method

Creates a new dataspace of a specified type. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5S.html#Dataspace-Create

Namespace:  HDF5DotNet
Assembly:  HDF5DotNet (in HDF5DotNet.dll)

Syntax

Visual Basic
Public Shared Function create ( _
	createClass As H5S..::..H5SClass _
) As H5DataSpaceId
C#
public static H5DataSpaceId create(
	H5S..::..H5SClass createClass
)
Visual C++
public:
static H5DataSpaceId^ create(
	H5S..::..H5SClass createClass
)
JavaScript
HDF5DotNet.H5S.create = function(createClass);

Parameters

createClass
Type: HDF5DotNet..::..H5S..::..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

ExceptionCondition
HDF5DotNet..::..H5ScreateException throws H5ScreateException on failure.

See Also