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

# H5S_SET_EXTENT_NONE

The H5S_SET_EXTENT_NONE removes the extent of a dataspace and sets the type to H5S_NO_CLASS. As such the dataspace cannot be resized or used in the creation of datasets or attributes.

## Syntax

H5S_SET_EXTENT_NONE, Dataspace_id

## Arguments

### Dataspace_id

An integer giving the dataspace identifier.

## Keywords

None

## Version History

6.2 | Introduced

## See Also

H5S_CREATE_SIMPLE, H5S_SET_EXTENT_SIMPLE