Partager via


DataModelExtension Class

Defines the DataModelExtension Class.When the object is serialized out as xml, its qualified name is a:ext.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.DataModelExtension

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(RecolorImages), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(DataModelExtensionBlock), FileFormatVersions.Office2010)> _
Public Class DataModelExtension _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As DataModelExtension
[ChildElementInfoAttribute(typeof(RecolorImages), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(DataModelExtensionBlock), FileFormatVersions.Office2010)]
public class DataModelExtension : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Office.Drawing.DataModelExtensionBlock <dsp:dataModelExt>

  • DocumentFormat.OpenXml.Office2010.Drawing.Diagram.RecolorImages <dgm14:recolorImg>

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

DataModelExtension Members

DocumentFormat.OpenXml.Drawing Namespace