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