Share via


Timelines class

Defines the Timelines Class. The root element of TimeLinePart. When the object is serialized out as xml, its qualified name is x15:timelines.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Office15.Excel.Timelines

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(Timeline), FileFormatVersions.Office15)> _
Public Class Timelines _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As Timelines
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(Timeline), FileFormatVersions.Office15)]
public class Timelines : OpenXmlPartRootElement

Remarks

2.4.63 timelines

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

A timelines element is a CT_Timelines type element, as specified in section 2.6.124, that specifies all the Timeline views (section 2.3.5.2), on the sheet (1). This element is the root element of the Timelines part (section 2.3.5).

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

<xsd:element name="timelines" type="CT_Timelines"/>

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

2.6.124 CT_Timelines

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

Referenced by: timelines

A complex type that specifies a list of CT_Timeline elements, as specified in section 2.6.125. The list of CT_Timeline elements specifies all Timeline views on the worksheet.

Child Elements:

timeline: A CT_Timeline element that specifies a Timeline view on the worksheet.

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

<xsd:complexType name="CT_Timelines">

<xsd:sequence>

<xsd:element name="timeline" type="CT_Timeline" minOccurs="1" maxOccurs="unbounded"/>

</xsd:sequence>

</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

Timelines members

DocumentFormat.OpenXml.Office15.Excel namespace