HDF_VD_ATTRFIND
Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also
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.
Syntax
Result = HDF_VD_ATTRFIND(VData, FieldID, Name)
Return Value
Returns the specified attribute's index number or –1 if the attribute cannot be located.
Arguments
VData
The VData handle returned by a previous call to HDF_VD_ATTACH.
FieldID
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.
Name
A string containing the name of the attribute whose index is to be returned.
Keywords
None
Examples
For an example using this routine, see the documentation for HDF_VD_ATTRSET.
Version History
See Also
HDF_VD_ATTRINFO, HDF_VD_ATTRSET, HDF_VD_ISATTR, HDF_VD_NATTRS