NonVisualDrawingProperties.Id Property

Definition

Application defined unique identifier.

Represents the following attribute in the schema: id

[DocumentFormat.OpenXml.SchemaAttr(0, "id")]
public DocumentFormat.OpenXml.UInt32Value Id { get; set; }
public DocumentFormat.OpenXml.UInt32Value Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "id")]
public DocumentFormat.OpenXml.UInt32Value? Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("id")]
public DocumentFormat.OpenXml.UInt32Value? Id { get; set; }
public DocumentFormat.OpenXml.UInt32Value? Id { get; set; }
member this.Id : DocumentFormat.OpenXml.UInt32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "id")>]
member this.Id : DocumentFormat.OpenXml.UInt32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("id")>]
member this.Id : DocumentFormat.OpenXml.UInt32Value with get, set
Public Property Id As UInt32Value

Property Value

Returns UInt32Value.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies a unique identifier for the current DrawingML object within the current document. This ID may be used to assist in uniquely identifying this object so that it can be referred to by other parts of the document.

If multiple objects within the same document share the same id attribute value, then the document shall be considered non-conformant.

Consider a DrawingML object defined as follows:

<… id="10" … >  

The id attribute has a value of 10, which is the unique identifier for this DrawingML object.

The possible values for this attribute are defined by the ST_DrawingElementId simple type.

Applies to