AlternateContent 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
AlternateContent() |
Initializes a new instance of the AlternateContent class. |
AlternateContent(OpenXmlElement[]) |
Initializes a new instance of the AlternateContent class by using the supplied OpenXmlElement elements. |
AlternateContent(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the AlternateContent class by using the supplied IEnumerable elements. |
AlternateContent(String) |
Initializes a new instance of the AlternateContent class by using the supplied string. |
AlternateContent()
Initializes a new instance of the AlternateContent class.
public AlternateContent ();
Public Sub New ()
Applies to
AlternateContent(OpenXmlElement[])
Initializes a new instance of the AlternateContent class by using the supplied OpenXmlElement elements.
public AlternateContent (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.AlternateContent : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.AlternateContent
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Represents all child elements.
Applies to
AlternateContent(IEnumerable<OpenXmlElement>)
Initializes a new instance of the AlternateContent class by using the supplied IEnumerable elements.
public AlternateContent (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.AlternateContent : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.AlternateContent
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Represents all child elements.
Applies to
AlternateContent(String)
Initializes a new instance of the AlternateContent class by using the supplied string.
public AlternateContent (string outerXml);
new DocumentFormat.OpenXml.AlternateContent : string -> DocumentFormat.OpenXml.AlternateContent
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
The outer XML of the element.