次の方法で共有


WorksheetExtension Class

Defines the WorksheetExtension 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.WorksheetExtension

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

Syntax

'宣言
<ChildElementInfoAttribute(GetType(DataValidations), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ProtectedRanges), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SlicerList), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(IgnoredErrors), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ConditionalFormattings), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SparklineGroups), FileFormatVersions.Office2010)> _
Public Class WorksheetExtension _
    Inherits OpenXmlCompositeElement
'使用
Dim instance As WorksheetExtension
[ChildElementInfoAttribute(typeof(DataValidations), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ProtectedRanges), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SlicerList), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(IgnoredErrors), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ConditionalFormattings), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SparklineGroups), FileFormatVersions.Office2010)]
public class WorksheetExtension : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Office2010.Excel.ConditionalFormattings <x14:conditionalFormattings>

  • DocumentFormat.OpenXml.Office2010.Excel.DataValidations <x14:dataValidations>

  • DocumentFormat.OpenXml.Office2010.Excel.SparklineGroups <x14:sparklineGroups>

  • DocumentFormat.OpenXml.Office2010.Excel.SlicerList <x14:slicerList>

  • DocumentFormat.OpenXml.Office2010.Excel.ProtectedRanges <x14:protectedRanges>

  • DocumentFormat.OpenXml.Office2010.Excel.IgnoredErrors <x14:ignoredErrors>

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

WorksheetExtension Members

DocumentFormat.OpenXml.Spreadsheet Namespace