DataModelExtensionBlock Class

Defines the DataModelExtensionBlock Class.When the object is serialized out as xml, its qualified name is dsp:dataModelExt.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office.Drawing.DataModelExtensionBlock

Namespace:  DocumentFormat.OpenXml.Office.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class DataModelExtensionBlock _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As DataModelExtensionBlock
public class DataModelExtensionBlock : OpenXmlLeafElement

Remarks

2.3.21 dataModelExt

Target namespace: https://schemas.microsoft.com/office/drawing/2008/diagram

Element of type: CT_DataModelExtBlock

An extension list child element of: [ISO/IEC-29500-1] §21.4.2.10 dataModel (DataModel)

(see [ISO/IEC-29500-1] §10.1.2 Office Open XML Native Extensibility Constructs)

Extension list Uri attribute: https://schemas.microsoft.com/office/drawing/2008/diagram

An additional element of a DataModel which defines the explicit part location of the Diagram Drawing and the minimum application version required to layout this diagram.

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

<xsd:element name="dataModelExt" type="CT_DataModelExtBlock"/>

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

2.5.55 CT_DataModelExtBlock

Target namespace: https://schemas.microsoft.com/office/drawing/2008/diagram

Referenced by: dataModelExt

This element specifies a relationship id to the Diagram Drawing part as well as a URI which is used to determine the minimum application version required to run layout on this diagram.

Attributes:

relId : A string [XMLSCHEMA2] section 3.2.1 attribute that specifies the id of the part which contains the Diagram Drawing object.

minVer : An anyURI [XMLSCHEMA2] section 3.2.17 attribute that specifies the minimum version required to display this layout.

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

<xsd:complexType name="CT_DataModelExtBlock">

<xsd:attribute name="relId" type="xsd:string"/>

<xsd:attribute name="minVer" type="xsd:anyURI"/>

</xsd:complexType>

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

Thread Safety

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

See Also

Reference

DataModelExtensionBlock Members

DocumentFormat.OpenXml.Office.Drawing Namespace