Function
Adds a named attribute with a string value to an Object.
Syntax
#include <dx/dx.h>
Object DXSetStringAttribute(Object o, char *name, char *x)
Functional Details
Creates a String containing the string value x and then adds an attribute/value pair to the Object o. name specifies the name of the attribute and x represents its value. If name specifies an attribute that the Object o already has, then its previous value is replaced.
Return Value
Returns o or returns NULL and sets an error code.
See Also
DXGetStringAttribute, DXSetAttribute, DXDeleteAttribute, DXSetComponentAttribute, DXSetFloatAttribute, DXSetIntegerAttribute
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]