SetCustomAttribute()
SetCustomAttribute(object, name, value): String
Set custom attribute name to value on object.
object |
Target object. |
name |
Custom attribute name. |
value |
Custom attribute value. |
Return
Previous value of the custom attribute, or null if it did not exist or the script lacks modify access to the object.
>>> SetCustomAttribute($node, "test", "test value") >>> test@$node test value