PersistentDocumentId class

Office 2013 and later

Defines the PersistentDocumentId Class.This class is only available in Office2013. When the object is serialized out as xml, its qualified name is w15:docId.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2013.Word.PersistentDocumentId

Namespace:  DocumentFormat.OpenXml.Office2013.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

[OfficeAvailabilityAttribute(FileFormatVersions.Office2013)]
public class PersistentDocumentId : OpenXmlLeafElement

2.3.36 docId

Target namespace: http://schemas.microsoft.com/office/word/2012/wordml

The docId global element<23> is a CT_Guid (as specified in [ISO/IEC-29500-1] section A.1) element that specifies a unique identifier for a set of documents derived from a common source. The possible values for this attribute are defined by the ST_Guid simple type (as specified in [ISO/IEC-29500-1] Section 22.9.2.4). See section 2.2.2 for how this element integrates with [ISO/IEC-29500-1].

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="docId" type="CT_Guid"/>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.44 CT_Guid

Target namespace: http://schemas.microsoft.com/office/word/2012/wordml

Referenced by: docId

A complex type that specifies a GUID (globally unique idenitifer)

Attributes:

val: An ST_Guid (as specified in [ISO/IEC-29500-1] Section 22.9.2.4) attribute that specifies the value of this complex type.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Guid">

<xsd:attribute name="val" type="w12:ST_Guid"/>

</xsd:complexType>

See section 5.2 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: