Function HasJsonAttributes.addAttribute
Adds a property with the given name [name] and value [value]. Neither [name] nor [value] can be [null]. It is illegal to add a property if another with the same name but different value already exists in this schema.
void addAttribute(T)
(
string name,
T value
);
Parameters
Name | Description |
---|---|
name | The name of the property to add |
value | The value for the property to add |