DataModelRoot Class
Data Model. It is the root element of DiagramDataPart.When the object is serialized out as xml, its qualified name is dgm:dataModel.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Drawing.Diagrams.DataModelRoot
Namespace: DocumentFormat.OpenXml.Drawing.Diagrams
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(Whole))> _
<ChildElementInfoAttribute(GetType(Background))> _
<ChildElementInfoAttribute(GetType(PointList))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(ConnectionList))> _
Public Class DataModelRoot _
Inherits OpenXmlPartRootElement
用法
Dim instance As DataModelRoot
[ChildElementInfoAttribute(typeof(Whole))]
[ChildElementInfoAttribute(typeof(Background))]
[ChildElementInfoAttribute(typeof(PointList))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(ConnectionList))]
public class DataModelRoot : OpenXmlPartRootElement
Remarks
The following table lists the possible child types:
PointList <dgm:ptLst>
ConnectionList <dgm:cxnLst>
Background <dgm:bg>
Whole <dgm:whole>
ExtensionList <dgm:extLst>
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.