Partager via


MetadataStrings Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CharacterValue))> _
Public Class MetadataStrings _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As MetadataStrings
[ChildElementInfoAttribute(typeof(CharacterValue))]
public class MetadataStrings : OpenXmlCompositeElement

Remarks

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

Subclause

s (Character Value)

§18.13.8

Attributes

Description

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

Reference

MetadataStrings Members

DocumentFormat.OpenXml.Spreadsheet Namespace