FootnoteEndnoteSeparatorReferenceType.Id Property

Definition

Footnote/Endnote ID

Represents the following attribute in the schema: w:id

[DocumentFormat.OpenXml.SchemaAttr(23, "id")]
public DocumentFormat.OpenXml.IntegerValue Id { get; set; }
public DocumentFormat.OpenXml.IntegerValue Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "id")]
public DocumentFormat.OpenXml.IntegerValue? Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:id")]
public DocumentFormat.OpenXml.IntegerValue? Id { get; set; }
public DocumentFormat.OpenXml.IntegerValue? Id { get; set; }
member this.Id : DocumentFormat.OpenXml.IntegerValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "id")>]
member this.Id : DocumentFormat.OpenXml.IntegerValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:id")>]
member this.Id : DocumentFormat.OpenXml.IntegerValue with get, set
Public Property Id As IntegerValue

Property Value

Returns Int32Value.

Attributes

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.

Applies to