Freigeben über


WorksheetExtension-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
<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
'Usage
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

Hinweise

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>

Threadsicherheit

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

Siehe auch

Referenz

WorksheetExtension-Member

DocumentFormat.OpenXml.Spreadsheet-Namespace