DefinedName 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
| DefinedName() | Initializes a new instance of the DefinedName class. | 
| DefinedName(OpenXmlElement[]) | Initializes a new instance of the DefinedName class with the specified child elements. | 
| DefinedName(IEnumerable<OpenXmlElement>) | Initializes a new instance of the DefinedName class with the specified child elements. | 
| DefinedName(String) | Initializes a new instance of the DefinedName class from outer XML. | 
DefinedName()
Initializes a new instance of the DefinedName class.
public DefinedName();Public Sub New ()Applies to
DefinedName(OpenXmlElement[])
Initializes a new instance of the DefinedName class with the specified child elements.
public DefinedName(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);new DocumentFormat.OpenXml.Office2010.Excel.DefinedName : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2010.Excel.DefinedNamePublic Sub New (ParamArray childElements As OpenXmlElement())Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
DefinedName(IEnumerable<OpenXmlElement>)
Initializes a new instance of the DefinedName class with the specified child elements.
public DefinedName(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);new DocumentFormat.OpenXml.Office2010.Excel.DefinedName : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2010.Excel.DefinedNamePublic Sub New (childElements As IEnumerable(Of OpenXmlElement))Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
DefinedName(String)
Initializes a new instance of the DefinedName class from outer XML.
public DefinedName(string outerXml);new DocumentFormat.OpenXml.Office2010.Excel.DefinedName : string -> DocumentFormat.OpenXml.Office2010.Excel.DefinedNamePublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.