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