AttributeProxy.add

Adds a new attribute to the element the element of which this proxy object was received.

  1. Node add(T[] name, T[] value)
    struct AttributeProxy
    add
    (
    T[] name
    ,
    T[] value = null
    )
  2. Node add(Attribute attribute)
  3. Node add(T[] name, bool value)
  4. Node add(T[] name, int value)

Parameters

name T[]

the name of the attribute

value T[]

the value of the attribute

Return Value

Type: Node

the element this attribute was added

Meta