共用方式為


OneOf Constructors

Definition

Overloads

OneOf()

Initializes a new instance of the OneOf class.

OneOf(OpenXmlElement[])

Initializes a new instance of the OneOf class with the specified child elements.

OneOf(IEnumerable<OpenXmlElement>)

Initializes a new instance of the OneOf class with the specified child elements.

OneOf(String)

Initializes a new instance of the OneOf class from outer XML.

OneOf()

Initializes a new instance of the OneOf class.

public OneOf ();
Public Sub New ()

Applies to

OneOf(OpenXmlElement[])

Initializes a new instance of the OneOf class with the specified child elements.

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

OneOf(IEnumerable<OpenXmlElement>)

Initializes a new instance of the OneOf class with the specified child elements.

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

OneOf(String)

Initializes a new instance of the OneOf class from outer XML.

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to