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