Поделиться через


TrackChangeType.Id Property

Annotation Identifier.Represents the attribte in schema: w:id

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "id")> _
Public Property Id As StringValue
    Get
    Set
'Usage
Dim instance As TrackChangeType
Dim value As StringValue

value = instance.Id

instance.Id = value
[SchemaAttrAttribute(, "id")]
public StringValue Id { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns Int32Value.

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.

See Also

Reference

TrackChangeType Class

TrackChangeType Members

DocumentFormat.OpenXml.Wordprocessing Namespace