Share via


Audio Constructors

Definition

Overloads

Audio()

Initializes a new instance of the Audio class.

Audio(OpenXmlElement[])

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

Audio(IEnumerable<OpenXmlElement>)

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

Audio(String)

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

Audio()

Initializes a new instance of the Audio class.

public Audio ();
Public Sub New ()

Applies to

Audio(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Audio(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Audio(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to