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