Skip Navigation Links.

H5S..::..getSimpleExtentNDims Method

Determines the dimensionality of a dataspace. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5S.html#Dataspace-ExtentNdims

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

Syntax

Visual Basic
Public Shared Function getSimpleExtentNDims ( _
	spaceId As H5DataSpaceId _
) As Integer
C#
public static int getSimpleExtentNDims(
	H5DataSpaceId spaceId
)
Visual C++
public:
static int getSimpleExtentNDims(
	H5DataSpaceId^ spaceId
)
JavaScript
HDF5DotNet.H5S.getSimpleExtentNDims = function(spaceId);

Parameters

spaceId
Type: HDF5DotNet..::..H5DataSpaceId
Identifier of the dataspace

Return Value

Returns the number of dimensions in the dataspace if successful.

Remarks

H5S.getSimpleExtentNDims determines the dimensionality (or rank) of a dataspace.

Exceptions

ExceptionCondition
HDF5DotNet..::..H5SgetSimpleExtentNDimsException throws H5SgetSimpleExtentNDimsException on failure.

See Also