次の方法で共有


RelationshipType.Id プロパティ

定義

パーツとの関係

スキーマ内の次の属性を表します: 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/footerfooterReference要素の場合headerReferenceは 。http://schemas.openxmlformats.org/officeDocument/2006/relationships/header要素の場合embedItalicembedBoldItalicembedBoldは 、http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontおよび embedRegular 要素の場合は 。http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettingsprinterSettings

id の属性を持つ XML 要素を考えてみましょう。

<… r:id="rId10" />  

マークアップは、リレーションシップ ID rId1を持つ関連付けられたリレーションシップ パーツに、親 XML 要素の対応するリレーションシップ情報が含まれていることを指定します。

この属性に使用できる値は、単純型によって ST_RelationshipId 定義されます。

適用対象