DatastoreItem class

Office 2013 and later

Defines the DatastoreItem Class. The root element of CustomDataPropertiesPart. When the object is serialized out as xml, its qualified name is x14:datastoreItem.

Namespace:  DocumentFormat.OpenXml.Office2010.Excel
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

2.4.35 datastoreItem

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main

A datastoreItem element is a CT_DatastoreItem type element, as specified in section 2.6.66, that specifies properties for an embedded custom data part, as specified in section 2.1.2. This element is the root element of the custom data properties part, as specified in section 2.1.3.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="datastoreItem" type="CT_DatastoreItem"/>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.6.66 CT_DatastoreItem

Target namespace: http://schemas.microsoft.com/office/spreadsheetml/2009/9/main

Referenced by: datastoreItem

A complex type that specifies properties for an embedded custom data part.

Child Elements:

extLst: A CT_ExtensionList element, as specified in ([ISO/IEC-29500-4] section A.2, that specifies future extensibility for this element.

Attributes:

id: An ST_Xstring attribute, as specified in ([ISO/IEC-29500-1] section 22.9.2.19, that specifies the identifier for the associated Custom Data storage. The value of the string is used to identify the associated Custom Data storage, and the value of the string MUST be unique for each Custom Data storage in the workbook. The length of this value MUST be less than 65536 characters.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_DatastoreItem">

<xsd:sequence>

<xsd:element name="extLst" type="x:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="id" type="x:ST_Xstring" use="required"/>

</xsd:complexType>

See section 5.4 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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