FootnoteEndnoteSeparatorReferenceType.Id 属性

定义

脚注/尾注 ID

表示架构中的以下属性: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

属性值

返回 Int32Value

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定唯一 ID,该 ID 应用于将脚注或尾注的内容与文档中关联的脚注/尾注引用标记进行匹配(视情况使用 footnoteRefendnoteRef 元素)。

如果多个脚注具有相同的 ID,则本文档应被视为不符合要求。 如果多个尾注共享相同的 ID,则此文档应被视为不符合。

请考虑脚注部分中定义的以下脚注:

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

此脚注的内容与 footnoteReference ID 匹配的 关联,如下所示:

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

生成的段落将有一个脚注引用标记,引用脚注的脚注编号值,值为 id0

此属性的可能值由 ST_DecimalNumber 简单类型定义。

适用于