Method AddBefore
AddBefore(string, TOCItem)
Adds a new TOC entry before an existing entry.
Declaration
public void AddBefore(string sectionHref, TOCItem newItem)
Parameters
| Type | Name | Description |
|---|---|---|
| string | sectionHref | The href field of the existing entry. |
| TOCItem | newItem | The entry to add. |
Remarks
Adds the new entry to the end if the existing entry is not found.