Share via


FootnoteEndnoteSeparatorReferenceType.Id Property

Footnote/Endnote ID.Represents the attribte in schema: w:id

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

Syntax

'Declaration
<SchemaAttrAttribute(, "id")> _
Public Property Id As IntegerValue
    Get
    Set
'Usage
Dim instance As FootnoteEndnoteSeparatorReferenceType
Dim value As IntegerValue

value = instance.Id

instance.Id = value
[SchemaAttrAttribute(, "id")]
public IntegerValue Id { get; set; }

Property Value

Type: DocumentFormat.OpenXml.IntegerValue
Returns Int32Value.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

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 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.

Consider the following footnote as defined in the footnotes part:

<w:footnotes>
  <w:footnote w:type="normal" w:id="0">
    …
  </w:footnote>
  …
</w:footnotes>

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

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

The resulting paragraph will have a footnote reference mark which references the footnote number value of the footnote with an id of 0.

The possible values for this attribute are defined by the ST_DecimalNumber simple type.

See Also

Reference

FootnoteEndnoteSeparatorReferenceType Class

FootnoteEndnoteSeparatorReferenceType Members

DocumentFormat.OpenXml.Wordprocessing Namespace