Skip Navigation Links.

H5A..::..getSpace Method

H5Aget_space retrieves a copy of the dataspace for an attribute. The dataspace identifier returned from this function must be released with H5S.close or resource leaks will develop. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5A.html#Annot-GetSpace

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

Syntax

Visual Basic
Public Shared Function getSpace ( _
	attributeId As H5AttributeId _
) As H5DataSpaceId
C#
public static H5DataSpaceId getSpace(
	H5AttributeId attributeId
)
Visual C++
public:
static H5DataSpaceId^ getSpace(
	H5AttributeId^ attributeId
)
JavaScript
HDF5DotNet.H5A.getSpace = function(attributeId);

Parameters

attributeId
Type: HDF5DotNet..::..H5AttributeId
IN: Identifier of an attribute.

Return Value

H5DataSpaceId

Exceptions

ExceptionCondition
HDF5DotNet..::..H5AgetSpaceException throws H5AgetSpaceException on failure.

See Also