This documentation is archived and is not being maintained.

CellMetadata Class

Cell Metadata.When the object is serialized out as xml, its qualified name is x:cellMetadata.

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

public class CellMetadata : MetadataBlocksType

The following table lists the possible child types:

  • MetadataBlock <x:bk>

[ISO/IEC 29500-1 1st Edition]

18.9.3 cellMetadata (Cell Metadata)

This element represents cell metadata information. Cell metadata is information metadata about a specific cell, and it stays tied to that cell position.

[Note: Applications should not use this for storing metadata, but instead us valueMetadata. Cell metadata is included for storing information from future application. end note]

Parent Elements

metadata (§18.9.8)

Child Elements


bk (Metadata Block)




count (Metadata Block Count)

Number of blocks of metadata records.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_MetadataBlocks) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.