Browse
 
Tools
Rss Categories

LVSemanticObject_GetPropertyName

Reference Number: AA-00910 Views: 1766 0 Rating/ Voters

If a handle is of type SI_TYPE_OBJECT, this function returns the name of a property of the object. Otherwise this function returns NULL. Usually, the user obtains the number of properties by calling LVSemanticObject_GetNumberOfProperties, then gets each property name in sequence.

Function

  • const char* LVSemanticObject_GetPropertyName(H_SI_DATA h_si_data, int index)

Parameters

h_si_data

Semantic data handle.

index

The index of the property you are inspecting. The index begins at 0. If the index is greater or equal to the value returned by LVSemanticObject_GetNumberOfProperties, this function will return NULL.

Return Values

Non-NULL pointer

A pointer to a buffer containing the name of the property specified by index.

NULL

Either the handle is not of SI_TYPE_OBJECT type, or the index exceeds the total number of properties in this object.

See Also