FootnoteEndnoteReferenceType.Id Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Footnote/Endnote ID Reference
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 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.