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

# H5G_GET_MEMBER_NAME

The H5G_GET_MEMBER_NAME function retrieves the name of an object within a group, by its zero-based index.

Note: This function is not part of the standard HDF5 interface, but is provided as a programming convenience. The H5Giterate() C function is used to retrieve the name.

## Syntax

Result = H5G_GET_MEMBER_NAME(Loc_id, Name, Index)

## Return Value

Returns a string containing the object’s name.

## Arguments

### Loc_id

An integer representing the identifier of the file or group.

### Name

A string representing the name of the group in which to retrieve the member name.

### Index

An integer representing the zero-based index of the object for which to retrieve the name.

## Keywords

None

## Version History

5.6 | Introduced

## See Also

H5G_GET_NMEMBERS