Document.add

Adds a section to this document.

  1. Document add(Section section)
  2. Document add(string title, string body, Term[] terms)
    class Document
    @safe
    add
    (
    string title
    ,
    string body = null
    ,
    Term[] terms = []
    )
  3. Document add(string section, Term term)
  4. Document add(string section, string term, string definition)

Parameters

title string

Title of the section.

body string

Body of the section.

terms Term[]

Terms associated with the section.