This function gets the value of an attribute on a specific node instance.
Defined In | Type | Member |
---|---|---|
CNI_VFT | Optional | iFpGetAttribute |
int cniGetAttribute(
CciContext* context,
CciChar* attrName,
CciChar* buffer,
int bufsize);
If successful, zero is returned, and the character representation of the value of the attribute is returned in the specified buffer. If the name of the attribute does not identify one supported by the node, a non-zero value is returned.