Compartir a través de


DatastoreItem Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Office2010.Excel.DatastoreItem

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

Syntax

'Declaración
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ExtensionList), FileFormatVersions.Office2010)> _
Public Class DatastoreItem _
    Inherits OpenXmlPartRootElement
'Uso
Dim instance As DatastoreItem
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ExtensionList), FileFormatVersions.Office2010)]
public class DatastoreItem : OpenXmlPartRootElement

Remarks

The following table lists the possible child types:

  • ExtensionList <x14:extLst>

2.4.30 datastoreItem

Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/main

A CT_DatastoreItem element that specifies properties for an embedded custom data part. This element is the root element of the Custom Data Properties part.

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.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.6.60 CT_DatastoreItem

Target namespace: https://schemas.microsoft.com/office/spreadsheetml/2010/main

Referenced by: datastoreItem

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

Child Elements:

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

Attributes:

id : An ST_Xstring ([ISO/IEC-29500-1] section 22.9.2.19) attribute that specifies the ID 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.3 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

DatastoreItem Members

DocumentFormat.OpenXml.Office2010.Excel Namespace