MetadataStrings Class

Metadata String Store.When the object is serialized out as xml, its qualified name is x:metadataStrings.

Inheritance Hierarchy


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


<ChildElementInfoAttribute(GetType(CharacterValue))> _
Public Class MetadataStrings _
    Inherits OpenXmlCompositeElement
Dim instance As MetadataStrings
public class MetadataStrings : OpenXmlCompositeElement


The following table lists the possible child types:

  • CharacterValue <x:s>

[ISO/IEC 29500-1 1st Edition]

18.9.9 metadataStrings (Metadata String Store)

This element represents the metadata string store. This is a collection of strings that are used as a resource for the rest of the metadata part. It contains all the required OLAP strings used in the spreadsheet including the connection name, as well as mdx expressions identifying specific members and sets. It is indexed from individual metadata records so that the records can use these strings to build up the necessary mdx statements to retrieve the correct data from the OLAP cube.

Parent Elements

metadata (§18.9.8)

Child Elements


s (Character Value)




count (MDX Metadata String Count)

Number of records in the string store.

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_MetadataStrings) 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


MetadataStrings Members

DocumentFormat.OpenXml.Spreadsheet Namespace