TrackChangeType.Id Property

Definition

Annotation Identifier

Represents the following attribute in the schema: w:id

[DocumentFormat.OpenXml.SchemaAttr(23, "id")]
public DocumentFormat.OpenXml.StringValue Id { get; set; }
public DocumentFormat.OpenXml.StringValue Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "id")]
public DocumentFormat.OpenXml.StringValue? Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w: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(23, "id")>]
member this.Id : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:id")>]
member this.Id : DocumentFormat.OpenXml.StringValue with get, set
Public Property Id As StringValue

Property Value

Returns Int32Value.

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 an annotation within a WordprocessingML document. The restrictions on the id attribute, if any, are defined by the parent XML element.

If this attribute is omitted, then the document will be considered non-conformant.

Consider an annotation represented using the following WordprocessingML fragment:

<w:… w:id="1" … >  
  …  
</w:…>  

The id attribute specifies that the ID of the current annotation is 1. This value is used to uniquely identify this annotation within the document content.

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

Applies to