Endnote Class

Endnote Content.When the object is serialized out as xml, its qualified name is w:endnote.

Inheritance Hierarchy


Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


Public Class Endnote _
    Inherits FootnoteEndnoteType
Dim instance As Endnote
public class Endnote : FootnoteEndnoteType


The following table lists the possible child types:

  • AltChunk <w:altChunk>

  • CustomXmlBlock <w:customXml>

  • SdtBlock <w:sdt>

  • Paragraph <w:p>

  • Table <w:tbl>

  • ProofError <w:proofErr>

  • PermStart <w:permStart>

  • PermEnd <w:permEnd>

  • BookmarkStart <w:bookmarkStart>

  • BookmarkEnd <w:bookmarkEnd>

  • CommentRangeStart <w:commentRangeStart>

  • CommentRangeEnd <w:commentRangeEnd>

  • MoveFromRangeStart <w:moveFromRangeStart>

  • MoveFromRangeEnd <w:moveFromRangeEnd>

  • MoveToRangeStart <w:moveToRangeStart>

  • MoveToRangeEnd <w:moveToRangeEnd>

  • CustomXmlInsRangeStart <w:customXmlInsRangeStart>

  • CustomXmlInsRangeEnd <w:customXmlInsRangeEnd>

  • CustomXmlDelRangeStart <w:customXmlDelRangeStart>

  • CustomXmlDelRangeEnd <w:customXmlDelRangeEnd>

  • CustomXmlMoveFromRangeStart <w:customXmlMoveFromRangeStart>

  • CustomXmlMoveFromRangeEnd <w:customXmlMoveFromRangeEnd>

  • CustomXmlMoveToRangeStart <w:customXmlMoveToRangeStart>

  • CustomXmlMoveToRangeEnd <w:customXmlMoveToRangeEnd>

  • DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictInsertionRangeStart <w14:customXmlConflictInsRangeStart>

  • DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictInsertionRangeEnd <w14:customXmlConflictInsRangeEnd>

  • DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictDeletionRangeStart <w14:customXmlConflictDelRangeStart>

  • DocumentFormat.OpenXml.Office2010.Word.CustomXmlConflictDeletionRangeEnd <w14:customXmlConflictDelRangeEnd>

  • InsertedRun <w:ins>

  • DeletedRun <w:del>

  • MoveFromRun <w:moveFrom>

  • MoveToRun <w:moveTo>

  • ContentPart <w:contentPart>

  • DocumentFormat.OpenXml.Office2010.Word.RunConflictInsertion <w14:conflictIns>

  • DocumentFormat.OpenXml.Office2010.Word.RunConflictDeletion <w14:conflictDel>

[ISO/IEC 29500-1 1st Edition]

17.11.2 endnote (Endnote Content)

This element specifies the content of a single endnote within a WordprocessingML document. Each endnote shall be represented by a single endnote element, which can contain any block-level content.

[Example: Consider a document with a single endnote, identified by a endnote element, defined in the endnotes part:

<w:endnote w:id="2">
<w:pStyle w:val="EndnoteText" />
<w:rStyle w:val="EndnoteReference" />
<w:endnoteRef />
<w:t xml:space="preserve">This is an endnote</w:t>

This endnote contains an endnote reference mark, as well as the endnote text This is an endnote. end example]

Parent Elements

endnotes (§17.11.8)

Child Elements


altChunk (Anchor for Imported External Content)


bookmarkEnd (Bookmark End)


bookmarkStart (Bookmark Start)


commentRangeEnd (Comment Anchor Range End)


commentRangeStart (Comment Anchor Range Start)


customXml (Block-Level Custom XML Element)


customXmlDelRangeEnd (Custom XML Markup Deletion End)


customXmlDelRangeStart (Custom XML Markup Deletion Start)


customXmlInsRangeEnd (Custom XML Markup Insertion End)


customXmlInsRangeStart (Custom XML Markup Insertion Start)


customXmlMoveFromRangeEnd (Custom XML Markup Move Source End)


customXmlMoveFromRangeStart (Custom XML Markup Move Source Start)


customXmlMoveToRangeEnd (Custom XML Markup Move Destination Location End)


customXmlMoveToRangeStart (Custom XML Markup Move Destination Location Start)


del (Deleted Run Content)


ins (Inserted Run Content)


moveFrom (Move Source Run Content)


moveFromRangeEnd (Move Source Location Container - End)


moveFromRangeStart (Move Source Location Container - Start)


moveTo (Move Destination Run Content)


moveToRangeEnd (Move Destination Location Container - End)


moveToRangeStart (Move Destination Location Container - Start)


oMath (Office Math)


oMathPara (Office Math Paragraph)


p (Paragraph)


permEnd (Range Permission End)


permStart (Range Permission Start)


proofErr (Proofing Error Anchor)


sdt (Block-Level Structured Document Tag)


tbl (Table)




id (Footnote/Endnote ID)

Specifies a unique ID which shall be used to match the contents of a footnote or endnote to the associated footnote/endnote reference mark in the document using the footnoteRef or endnoteRef element, as appropriate.

If this attribute is omitted, then this footnote or endnote shall have no ID. If more than one footnote shares the same ID, then this document shall be considered non-conformant. If more than one endnote shares the same ID, then this document shall be considered non-conformant.

[Example: Consider the following footnote as defined in the footnotes part:

  <w:footnote w:type="normal" w:id="0">

The contents of this footnote are associated with the footnoteReference with a matching ID, as follows:

<w:footnoteReference w:id="0" />

The resulting paragraph has a footnote reference mark which references the footnote number value of the footnote with an id of 0. end example]

The possible values for this attribute are defined by the ST_DecimalNumber simple type (§17.18.10).

type (Footnote/Endnote Type)

Specifies the type of footnote or endnote contained within the current footnote or endnote content definition.

If this attribute is omitted, then it shall be considered to be of style normal. If a footnote or endnote is not of style normal, then it shall not be referenced by a footnoteReference or endnoteReference element within the main document story.

[Example: Consider the following example of a footnote defined in a WordprocessingML document as follows:

<w:footnote w:type="continuationSeparator" w:id="1">
      <w:continuationSeparator />

In this example, the footnote is of style continuationSeparator and must be used by a consumer to separate continued footnotes from the main document contents (see simple type for full details). end example]

The possible values for this attribute are defined by the ST_FtnEdn simple type (§17.18.33).

[Note: The W3C XML Schema definition of this element’s content model (CT_FtnEdn) is located in §A.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


Endnote Members

DocumentFormat.OpenXml.Wordprocessing Namespace