RelationshipType.Id 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
与部件的关系
表示架构中的以下属性:r:id
[DocumentFormat.OpenXml.SchemaAttr(19, "id")]
public DocumentFormat.OpenXml.StringValue Id { get; set; }
public DocumentFormat.OpenXml.StringValue Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(19, "id")]
public DocumentFormat.OpenXml.StringValue? Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("r:id")]
public DocumentFormat.OpenXml.StringValue? Id { get; set; }
public DocumentFormat.OpenXml.StringValue? Id { get; set; }
member this.Id : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(19, "id")>]
member this.Id : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("r:id")>]
member this.Id : DocumentFormat.OpenXml.StringValue with get, set
Public Property Id As StringValue
属性值
返回 StringValue。
- 属性
注解
指定指定部件的关系 ID。
指定的关系应与父元素所需的类型匹配: http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer
对于 footerReference
元素; http://schemas.openxmlformats.org/officeDocument/2006/relationships/header
对于 headerReference
元素; http://schemas.openxmlformats.org/officeDocument/2006/relationships/font
对于 embedBold
、 embedBoldItalic
、 embedItalic
和 embedRegular
元素; http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings
对于 printerSettings
元素。
请考虑具有以下属性的 id
XML 元素:
<… r:id="rId10" />
标记指定具有关系 ID rId1
的关联关系部件包含父 XML 元素的相应关系信息。
此属性的可能值由 ST_RelationshipId
简单类型定义。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈