Export (0) Print
Expand All

DocumentId class

Defines the DocumentId Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:docId.

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class DocumentId : OpenXmlLeafElement

2.3.1 docId

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

A CT_LongHexNumber element that specifies an arbitrary identifier for the context of the paragraph identifiers in the document. Values MUST be greater than 0 and less than 0x80000000. 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_LongHexNumber"/>

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

2.5.1 CT_LongHexNumber

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

Referenced by: docId

A complex type that represents a 32-bit integer. Value ranges from 0 to 0xFFFFFFFF.

Attributes:

val: An ST_LongHexNumber (as specified by [ISO/IEC-29500-1] section 17.18.50) attribute that specifies the value of the property.

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

<xsd:complexType name="CT_LongHexNumber">

<xsd:attribute name="val" type="w:ST_LongHexNumber" use="required"/>

</xsd:complexType>

See section 5.1 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.

Community Additions

ADD
Show:
© 2014 Microsoft