Compartir a través de


RelationshipType.Id Propiedad

Definición

Relación con el elemento

Representa el atributo siguiente en el esquema: 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

Valor de propiedad

Devuelve StringValue.

Atributos

Comentarios

Especifica el identificador de relación de un elemento especificado.

La relación especificada coincidirá con el tipo requerido por el elemento primario: http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer para el footerReference elemento ; http://schemas.openxmlformats.org/officeDocument/2006/relationships/header para el headerReference elemento ; http://schemas.openxmlformats.org/officeDocument/2006/relationships/font para los embedBoldelementos , embedBoldItalic, embedItalicy embedRegular y http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettings para el printerSettings elemento .

Considere la posibilidad de un elemento XML que tenga el atributo siguiente id :

<… r:id="rId10" />  

El marcado especifica que el elemento de relación asociado, con el identificador rId1de relación , contiene la información de relación correspondiente para el elemento XML primario.

El tipo simple define los ST_RelationshipId valores posibles para este atributo.

Se aplica a