This documentation is archived and is not being maintained.

ValueMetadata Class

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

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

public class ValueMetadata : MetadataBlocksType

The following table lists the possible child types:

  • MetadataBlock <x:bk>

[ISO/IEC 29500-1 1st Edition]

18.9.17 valueMetadata (Value Metadata)

This element represents the value metadata information for the spreadsheet. It is essentially a collection of block elements that each define the value metadata for a particular cell. Cells in the workbook index into this collection, and each block element in this collection in turn references the mdxMetadata records.

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.