Freigeben über


ContentPart-Klasse

Defines the ContentPart Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is cdr14:contentPart.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Drawing.ChartDrawing.ContentPart

Namespace:  DocumentFormat.OpenXml.Office2010.Drawing.ChartDrawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NonVisualContentProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(NonVisualContentPartProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ApplicationNonVisualDrawingProperties), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Transform2D), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(OfficeArtExtensionList), FileFormatVersions.Office2010)> _
Public Class ContentPart _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ContentPart
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NonVisualContentProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(NonVisualContentPartProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ApplicationNonVisualDrawingProperties), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Transform2D), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(OfficeArtExtensionList), FileFormatVersions.Office2010)]
public class ContentPart : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • NonVisualContentProperties <cdr14:nvContentPr>

  • NonVisualContentPartProperties <cdr14:nvContentPartPr>

  • ApplicationNonVisualDrawingProperties <cdr14:nvPr>

  • Transform2D <cdr14:xfrm>

  • OfficeArtExtensionList <cdr14:extLst>

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

ContentPart-Member

DocumentFormat.OpenXml.Office2010.Drawing.ChartDrawing-Namespace