HDF_VG_ATTRFIND

The HDF_VG_ATTRFIND function returns an attribute's index number given the name of an attribute associated with the specified VGroup.

Examples

For an example using this routine, see HDF_VG_ATTRSET.

Syntax

Result = HDF_VG_ATTRFIND(VGroup, Name)

Return Value

Returns the specified attribute’s index number or –1 if the attribute cannot be located.

Arguments

VGroup

The VGroup handle returned by a previous call to HDF_VG_ATTACH.

Name

A string containing the name of the attribute whose index is to be returned.

Keywords

None

Version History

8.5.1

Introduced

See Also

HDF_VG_ATTRINFO, HDF_VG_ATTRGET, HDF_VG_ATTRSET,  HDF_VG_GETINFO