Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / I/O - HDF / HDF_VD_ATTRFIND

HDF_VD_ATTRFIND

HDF_VD_ATTRFIND

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.

Examples


For an example using this routine, see HDF_VD_ATTRSET.

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

Version History


5.5

Introduced

See Also


HDF_VD_ATTRINFO,  HDF_VD_ATTRSET,  HDF_VD_ISATTRHDF_VD_NATTRS



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us