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

# H5G_GET_OBJ_NAME_BY_IDX

The H5G_GET_OBJ_NAME_BY_IDX function returns a name of an object specified by an index.

## Syntax

Result = H5G_GET_OBJ_NAME_BY_IDX(Loc_id, Index)

## Return Value

Result is a string containing the name of the object.

## Arguments

### Loc_id

An integer giving file or group identifier.

### Index

An integer index identifying the object.

## Keywords

None

## Version History

6.2 | Introduced

## See Also

H5G_CREATE, H5G_GET_NUM_OBJS