FootnoteEndnoteReferenceType.Id Property

Footnote/Endnote ID Reference.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 FootnoteEndnoteReferenceType
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 the footnote or endnote which is being referenced by the current footnote or endnote reference in the document.

If the resulting footnote or endnote ID is not present in the footnotes or endnote part (as appropriate), then this document shall be considered non-conformant.

Consider a paragraph with an endnote reference, represented by the following WordprocessingML:

<w:p>
  <w:r>
    <w:t>This text is followed by an endnote</w:t>
  </w:r>
  <w:r>
    <w:endnoteReference w:id="2" />
  </w:r>
  <w:r>
    <w:t>.</w:t>
  </w:r>
</w:p>

This text references the endnote in the document's endnotes part which has an id value of 2.

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

See Also

Reference

FootnoteEndnoteReferenceType Class

FootnoteEndnoteReferenceType Members

DocumentFormat.OpenXml.Wordprocessing Namespace