The HDF_VD_ATTRFIND function returns an attribute's index number given the name of an attribute associated with the specified VData or VData/field pair.
Result = HDF_VD_ATTRFIND(VData, FieldID, Name)
Returns the specified attribute’s index number or –1 if the attribute cannot be located.
The VData handle returned by a previous call to HDF_VD_ATTACH.
A zero-based index specifying the field, or a string containing the name of the field within the VData to which the attribute is attached. Setting FieldID to –1 specifies that the attribute is attached to the VData itself.
A string containing the name of the attribute whose index is to be returned.
None
For an example using this routine, see the documentation for HDF_VD_ATTRSET.
5.5 |
Introduced |
HDF_VD_ATTRINFO, HDF_VD_ATTRSET, HDF_VD_ISATTR, HDF_VD_NATTRS