Routines (alphabetical) > Routines: H > HDF Routines > HDF_VG_ADDTR

# HDF_VG_ADDTR

The HDF_VG_ADDTR procedure adds a tag and reference to the specified VGroup in an HDF file.

## Examples

See HDF_SD_IDTOREF for an example using this function.

## Syntax

HDF_VG_ADDTR, VGroup, Tag, Ref

## Arguments

### VGroup

The VGroup handle returned by a previous call to HDF_VG_ATTACH.

### Tag

The tag to be written.

### Reference

The reference number to be written.

## Keywords

None

## Version History

4.0 | Introduced

## See Also

HDF_VG_GETTR, HDF_VG_GETTRS, HDF_VG_INQTR, HDF_VG_INSERT