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