WorkbookExtension Class
Defines the WorkbookExtension Class.When the object is serialized out as xml, its qualified name is x:ext.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.WorkbookExtension
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(DefinedNames), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(PivotCaches), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SlicerCaches), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(WorkbookProperties), FileFormatVersions.Office2010)> _
Public Class WorkbookExtension _
Inherits OpenXmlCompositeElement
用法
Dim instance As WorkbookExtension
[ChildElementInfoAttribute(typeof(DefinedNames), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(PivotCaches), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SlicerCaches), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(WorkbookProperties), FileFormatVersions.Office2010)]
public class WorkbookExtension : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
DocumentFormat.OpenXml.Office2010.Excel.DefinedNames <x14:definedNames>
DocumentFormat.OpenXml.Office2010.Excel.PivotCaches <x14:pivotCaches>
DocumentFormat.OpenXml.Office2010.Excel.SlicerCaches <x14:slicerCaches>
DocumentFormat.OpenXml.Office2010.Excel.WorkbookProperties <x14:workbookPr>
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.