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

# H5G_GET_NUM_OBJS

The H5G_GET_NUM_OBJS function returns number of objects in the group specified by its identifier.

## Syntax

Result = H5G_GET_NUM_OBJS(Loc_id)

## Return Value

Result is the number of objects contained in the group.

## Arguments

### Loc_id

An integer giving the file or group identifier.

## Keywords

None

## Version History

6.2 | Introduced

## See Also

H5G_CREATE, H5G_GET_OBJ_NAME_BY_IDX