Partager via


OleObjects Class

Defines the OleObjects Class.When the object is serialized out as xml, its qualified name is x:oleObjects.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.OleObjects

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(OleObject))> _
Public Class OleObjects _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As OleObjects
[ChildElementInfoAttribute(typeof(OleObject))]
public class OleObjects : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • OleObject <x:oleObject>

[ISO/IEC 29500-1 1st Edition]

18.3.1.60 oleObjects (Embedded Objects)

Embedded objects collection in this worksheet.

[Example:

This example shows two embedded objects.

<oleObjects>
<oleObject progId="Word.Document.12" shapeId="1025" r:id="rId4"/>
<oleObject progId="PowerPoint.Show.12" shapeId="1026" r:id="rId5"/>
</oleObjects>

end example]

Parent Elements

dialogsheet (§18.3.1.34); worksheet (§18.3.1.99)

Child Elements

Subclause

oleObject (Embedded Object)

§18.3.1.59

[Note: The W3C XML Schema definition of this element’s content model (CT_OleObjects) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

OleObjects Members

DocumentFormat.OpenXml.Spreadsheet Namespace