共用方式為


Metadata Class

Metadata. It is the root element of CellMetadataPart.When the object is serialized out as xml, its qualified name is x:metadata.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Spreadsheet.Metadata

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(FutureMetadata))> _
<ChildElementInfoAttribute(GetType(CellMetadata))> _
<ChildElementInfoAttribute(GetType(MetadataTypes))> _
<ChildElementInfoAttribute(GetType(MetadataStrings))> _
<ChildElementInfoAttribute(GetType(MdxMetadata))> _
<ChildElementInfoAttribute(GetType(ValueMetadata))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class Metadata _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As Metadata
[ChildElementInfoAttribute(typeof(FutureMetadata))]
[ChildElementInfoAttribute(typeof(CellMetadata))]
[ChildElementInfoAttribute(typeof(MetadataTypes))]
[ChildElementInfoAttribute(typeof(MetadataStrings))]
[ChildElementInfoAttribute(typeof(MdxMetadata))]
[ChildElementInfoAttribute(typeof(ValueMetadata))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class Metadata : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • MetadataTypes <x:metadataTypes>

  • MetadataStrings <x:metadataStrings>

  • MdxMetadata <x:mdxMetadata>

  • FutureMetadata <x:futureMetadata>

  • CellMetadata <x:cellMetadata>

  • ValueMetadata <x:valueMetadata>

  • ExtensionList <x:extLst>

[ISO/IEC 29500-1 1st Edition]

18.9.8 metadata (Metadata)

This element represents the root node for all metadata information in the spreadsheet.

Parent Elements

Root element of SpreadsheetML Metadata part

Child Elements

Subclause

cellMetadata (Cell Metadata)

§18.9.3

extLst (Future Feature Data Storage Area)

§18.2.10

futureMetadata (Future Metadata)

§18.9.4

mdxMetadata (MDX Metadata Information)

§18.9.7

metadataStrings (Metadata String Store)

§18.9.9

metadataTypes (Metadata Types Collection)

§18.9.11

valueMetadata (Value Metadata)

§18.9.17

[Note: The W3C XML Schema definition of this element’s content model (CT_Metadata) 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

Metadata Members

DocumentFormat.OpenXml.Spreadsheet Namespace