Element.opOpAssign

Append a comment to the interior of this element

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

Parameters

item Comment

the item you wish to append.

Examples

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

Meta