Value::SetMember

Value::SetMember
SF_INLINE bool SetMember(const char* name, const Value& val);
Description

SetMember set a member of an object. Only valid for Object types (including Array and DisplayObject).

Parameters
Parameters 
Description 
const char* name 
The name of the member to be set. 
const Value& val 
The value to be set as the member. 
Return Value

True if the member was set, otherwise false. A false value will also be returned if the Value is a reference to a display object, and the display object was unloaded.