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

# H5A_DELETE

The H5A_DELETE procedure removes the attribute specified by its name from a dataset, group, or named datatype.

Note: This function requires that all attributes be closed on the specified object and will close any attributes currently open.

## Example

See the example under H5F_CREATE.

## Syntax

H5A_DELETE, Loc_id, Name

## Arguments

### Loc_id

An integer giving the identifier of the group, dataset, or named datatype from which the attribute will be deleted.

### Name

A string giving the name of the attribute to delete.

## Keywords

None

## Version History

6.2 | Introduced

## See Also

H5A_CREATE