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

# HDF_VG_DETACH

The HDF_VG_DETACH procedure should be called when you are finished accessing a VGroup in an HDF file. This routine must be called for every VGroup attached for writing before closing the HDF file in order to insure that VSET information is properly updated.

## Examples

See HDF_SD_IDTOREF for an example using this function.

## Syntax

HDF_VG_DETACH, VGroup

## Arguments

### VGroup

The VGroup handle returned by a previous call to HDF_VG_ATTACH.

## Keywords

None

## Version History

4.0 | Introduced

## See Also

HDF_VG_ATTACH