Partager via


ConnectionList Class

Connection List.When the object is serialized out as xml, its qualified name is dgm:cxnLst.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Diagrams.ConnectionList

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Connection))> _
Public Class ConnectionList _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ConnectionList
[ChildElementInfoAttribute(typeof(Connection))]
public class ConnectionList : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Connection <dgm:cxn>

[ISO/IEC 29500-1 1st Edition]

21.4.3.3 cxnLst (Connection List)

This element defines a group of connections. There can be a connection list defined for any data model which holds all of the connections between points defined in the diagram.

[Example: Consider the following example of a cxnLst in DiagramML:

<cxnLst>
<cxn modelId="7" srcId="0" destId="1" srcOrd="0" destOrd="0"/>
<cxn modelId="8" srcId="0" destId="2" srcOrd="1" destOrd="0"/>
<cxn modelId="9" srcId="0" destId="3" srcOrd="2" destOrd="0"/>
<cxn modelId="10" srcId="0" destId="4" srcOrd="3" destOrd="0"/>
<cxn modelId="11" srcId="0" destId="5" srcOrd="4" destOrd="0"/>
<cxn modelId="12" srcId="0" destId="6" srcOrd="5" destOrd="0"/>
</cxnLst>

In this example we see 6 cxn elements (§21.4.3.2) defined within a cxnLst element. In this example, a relationship is being defined between point 0 and every other point in the diagram. end example]

Parent Elements

dataModel (§21.4.2.10)

Child Elements

Subclause

cxn (Connection)

§21.4.3.2

[Note: The W3C XML Schema definition of this element’s content model (CT_CxnList) is located in §A.5.3. end note]

© ISO/IEC29500: 2008.

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

ConnectionList Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace