VTDate Class

Date and Time.When the object is serialized out as xml, its qualified name is vt:date.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.VariantTypes.VTDate

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

Syntax

'Declaration
Public Class VTDate _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As VTDate
public class VTDate : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1st Edition]

22.4.2.7 date (Date and Time)

This element specifies a date variant type of type date-time as defined in RFC 3339.

The possible values for this element are defined by the W3C XML Schema dateTime datatype.

Parent Elements

array (§22.4.2.1); property (§22.3.2.2); variant (§22.4.2.32); vector (§22.4.2.33)

© 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

VTDate Members

DocumentFormat.OpenXml.VariantTypes Namespace