[]
Represents a collection of Endnote objects.
public class EndnoteCollection : ContentObjectCollection<Endnote>, IContentList<Endnote>, IReadOnlyList<Endnote>, IReadOnlyCollection<Endnote>, IEnumerable<Endnote>, IEnumerable
Gets the body of the endnotes continuation notice.
public Body ContinuationNotice { get; }
Gets the body of the endnotes continuation separator.
public Body ContinuationSeparator { get; }
Gets the body of the endnotes separator.
public Body Separator { get; }
public Endnote Add(string text, char referenceCharacter, string referenceFontName)
text
stringThe endnote text.
referenceCharacter
charThe endnote reference symbol.
referenceFontName
stringThe endnote reference symbol font.
public Endnote Add(string text, string reference)
text
stringThe endnote text.
reference
stringThe endnote reference text.
public Endnote Add(string text = null)
text
stringThe endnote text.
Checks whether this collection contains an endnote with a specified ID.
public bool Contains(long id)
id
longThe endnote ID.
True if the collection contains an endnote with the specified ID, false otherwise.
Gets an endnote from the collection by its ID.
public Endnote GetByID(long id)
id
longThe endnote ID.
Thrown when an endnote with the specified ID could not be found in this collection.
Inserts an Endnote into this collection at the specified location.
public Endnote Insert(InsertLocation location)
location
InsertLocationThe target InsertLocation for the insertion.
Inserts an Endnote into this collection at the specified location.
public Endnote Insert(string text, InsertLocation location)
text
stringThe endnote text.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts an Endnote into this collection at the specified location.
public Endnote Insert(string text, char referenceCharacter, string referenceFontName, InsertLocation location)
text
stringThe endnote text.
referenceCharacter
charThe endnote reference symbol.
referenceFontName
stringThe endnote reference symbol font.
location
InsertLocationThe target InsertLocation for the insertion.
Inserts an Endnote into this collection at the specified location.
public Endnote Insert(string text, string reference, InsertLocation location)
text
stringThe endnote text.
reference
stringThe endnote reference text.
location
InsertLocationThe target InsertLocation for the insertion.