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

# H5S_GET_SIMPLE_EXTENT_TYPE

The H5S_GET_SIMPLE_EXTENT_TYPE function returns the current class of a dataspace.

## Syntax

Result = H5S_GET_SIMPLE_EXTENT_TYPE(Dataspace_id)

## Return Value

Returns a string containing the class. Possible values are:

- ‘H5S_SCALAR’
- ‘H5S_SIMPLE’
- ‘H5S_COMPLEX’
- ‘H5S_NO_CLASS’

## Arguments

### Dataspace_id

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

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5S_GET_SIMPLE_EXTENT_DIMS, H5S_GET_SIMPLE_EXTENT_NDIMS, H5S_GET_SIMPLE_EXTENT_NPOINTS