RelationshipType.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.
Relationship to Part
Represents the following attribute in the schema: 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
Property Value
Returns StringValue.
- Attributes
Remarks
Specifies the relationship ID for a specified part.
The specified relationship shall match the type required by the parent element: http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer
for the footerReference
element; http://schemas.openxmlformats.org/officeDocument/2006/relationships/header
for the headerReference
element; http://schemas.openxmlformats.org/officeDocument/2006/relationships/font
for the embedBold
, embedBoldItalic
, embedItalic
, and embedRegular
elements; and http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings
for the printerSettings
element.
Consider an XML element which has the following id
attribute:
<… r:id="rId10" />
The markup specifies that the associated relationship part, with relationship ID rId1
, contains the corresponding relationship information for the parent XML element.
The possible values for this attribute are defined by the ST_RelationshipId
simple type.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應