[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Returns an identifier for a copy of the dataspace for a dataset.

Syntax

Visual Basic (Declaration)
Public Shared Function getSpace ( _
	dataSetId As H5DataSetId _
) As H5DataSpaceId
C#
public static H5DataSpaceId getSpace (
	H5DataSetId dataSetId
)
C++
public:
static H5DataSpaceId^ getSpace (
	H5DataSetId^ dataSetId
)

Parameters

dataSetId (H5DataSetId)
IN: Identifier of the dataset to query.

Return Value

Returns a dataspace identifier if successful.

Remarks

H5Dget_space returns an identifier for a copy of the dataspace for a dataset. The dataspace identifier should be released with the H5S.close function.

Exceptions

ExceptionCondition
HDF5DotNet.H5DgetSpaceException throws H5DgetSpaceException on failure.