N_EA_setV_wAStr

Relates an attribute value to a entity.

pEAV = N_EA_setV_wAStr (pEn, Attrib, sVal, replace_b=FALSE)
Dir Type Par Description
in int* pEn An Entity/Node/Thing.
in int* pAttrib An attribute/property.
in TCHAR* sVal A string with desired value.
in BOOL replace_b If TRUE, replaces existing value.
return int* pEAV pEn's relation to value. NULL if error.

Notes:
A thing's attribute can have multiple values.

Example:
N_EA_setV_wAStr (pJohn, pColor, _T("red"));
Sample Code

Related:
N_AncOf_b, N_ClsInst_get, N_create, N_delete, N_deleteDescs, N_isSys_b, N_Name_get, N_Name_getEx, N_Name_setWithAStr, N_Str_getNamed, N_SVO_getElem, N_SV_getO, N_SVO_set, N_EA_setV_wAStr

CM ©2000-2007

air max polski

airmaxpolski

Tanie Nike Air Max