共用方式為


AlternateContentChoice Constructors

Definition

Overloads

AlternateContentChoice()

Initializes a new instance of the AlternateContentChoice class.

AlternateContentChoice(OpenXmlElement[])

Initializes a new instance of the AlternateContentChoice class by using the supplied OpenXmlElement elements.

AlternateContentChoice(IEnumerable<OpenXmlElement>)

Initializes a new instance of the AlternateContentChoice class by using the supplied IEnumerable elements.

AlternateContentChoice(String)

Initializes a new instance of the AlternateContentChoice class by using the supplied string.

AlternateContentChoice()

Initializes a new instance of the AlternateContentChoice class.

public AlternateContentChoice ();
Public Sub New ()

Applies to

AlternateContentChoice(OpenXmlElement[])

Initializes a new instance of the AlternateContentChoice class by using the supplied OpenXmlElement elements.

public AlternateContentChoice (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.AlternateContentChoice : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.AlternateContentChoice
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Represents all child elements.

Applies to

AlternateContentChoice(IEnumerable<OpenXmlElement>)

Initializes a new instance of the AlternateContentChoice class by using the supplied IEnumerable elements.

public AlternateContentChoice (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.AlternateContentChoice : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.AlternateContentChoice
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Represents all child elements.

Applies to

AlternateContentChoice(String)

Initializes a new instance of the AlternateContentChoice class by using the supplied string.

public AlternateContentChoice (string outerXml);
new DocumentFormat.OpenXml.AlternateContentChoice : string -> DocumentFormat.OpenXml.AlternateContentChoice
Public Sub New (outerXml As String)

Parameters

outerXml
String

The outer XML of the element.

Applies to