ModelRelationships Constructors 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| ModelRelationships() | Initializes a new instance of the ModelRelationships class. | 
| ModelRelationships(OpenXmlElement[]) | Initializes a new instance of the ModelRelationships class with the specified child elements. | 
| ModelRelationships(IEnumerable<OpenXmlElement>) | Initializes a new instance of the ModelRelationships class with the specified child elements. | 
| ModelRelationships(String) | Initializes a new instance of the ModelRelationships class from outer XML. | 
ModelRelationships()
Initializes a new instance of the ModelRelationships class.
public ModelRelationships();Public Sub New ()Applies to
ModelRelationships(OpenXmlElement[])
Initializes a new instance of the ModelRelationships class with the specified child elements.
public ModelRelationships(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);new DocumentFormat.OpenXml.Office2013.Excel.ModelRelationships : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2013.Excel.ModelRelationshipsPublic Sub New (ParamArray childElements As OpenXmlElement())Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
ModelRelationships(IEnumerable<OpenXmlElement>)
Initializes a new instance of the ModelRelationships class with the specified child elements.
public ModelRelationships(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);new DocumentFormat.OpenXml.Office2013.Excel.ModelRelationships : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2013.Excel.ModelRelationshipsPublic Sub New (childElements As IEnumerable(Of OpenXmlElement))Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
ModelRelationships(String)
Initializes a new instance of the ModelRelationships class from outer XML.
public ModelRelationships(string outerXml);new DocumentFormat.OpenXml.Office2013.Excel.ModelRelationships : string -> DocumentFormat.OpenXml.Office2013.Excel.ModelRelationshipsPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.