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

# HDF_VG_GETINFO

The HDF_VG_GETINFO procedure is a general VGroup inquiry routine. Set the various keywords to named variables to return information about different aspects of a VGroup in an HDF file.

## Examples

HDF_VG_GETINFO, Vgrp, CLASS=c, NAME=nm, NENTRIES=n

PRINT, c, nm, n

## Syntax

HDF_VG_GETINFO, VGroup [, CLASS=variable] [, NAME=variable] [, NENTRIES=variable] [, REF=variable] [, TAG=variable]

## Arguments

### VGroup

The VGroup handle returned by a previous call to HDF_VG_ATTACH.

## Keywords

### CLASS

Set this keyword to a named variable in which the class of the VGroup is returned as a string.

### NAME

Set this keyword to a named variable in which the name of the VGroup is returned as a string.

### NENTRIES

Set this keyword to a named variable in which the number of objects inside the VGroup is returned as a long integer.

### REF

Set this keyword to a named variable in which the reference number of the specified Vgroup is returned.

### TAG

Set this keyword to a named variable in which the tag number of the specified Vgroup is returned.

## Version History

4.0 | Introduced