Routines (alphabetical) > Routines: H > HDF5 Routines > H5A_GET_SPACE

# H5A_GET_SPACE

The H5A_GET_SPACE function returns the identifier number of a copy of the dataspace for an attribute.

## Syntax

Result = H5A_GET_SPACE(Attribute_id)

## Return Value

Returns the dataspace’s identifier. This identifier can be released with the H5S_CLOSE.

## Arguments

### Attribute_id

An integer representing the attribute’s identifier to be queried.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5A_GET_NAME , H5A_GET_TYPE, H5S_CLOSE