Element.opOpAssign

Append a text item to the interior of this element

  1. void opOpAssign(Text item)
    class Element
    @safe pure
    void
    opOpAssign
    (
    string op
    )
    if (
    op == "~"
    )
  2. void opOpAssign(CData item)
  3. void opOpAssign(Comment item)
  4. void opOpAssign(ProcessingInstruction item)
  5. void opOpAssign(Element item)

Parameters

item Text

the item you wish to append.

Examples

Element element;
element ~= new Text("hello");

Meta