Liquid XML Data Binder (C++, Java, VB6) / Reference / C# and VB .Net (Deprecated - use Liquid XML Objects) / Reference / XmlDateTime / Liquid XML Runtime for .Net - Type - XmlDateTime
In This Topic
    Liquid XML Runtime for .Net - Type - XmlDateTime
    In This Topic
    This feature has been superseded by Liquid XML Objects.
    (The original functionality is still included in the product)
    Use Liquid XML Objects
    DateType Type() const;
      Property Description  
        Returns The type of the date time stored  
        Description Gets the type of this XmlDateTime.  
        Remarks The type effects which methods will throw a LtInvalidStateException.
    e.g. You cannot call get Year if the type is not date, dateTime, gYear or gYearMonth as no Year element is available.

                 public enum DateType
                    {
                            yearZero = 0,
                            dateTime,
                            date,
                            gYearMonth,
                            gYear,
                            time,
                            gDay,
                            gMonth,
                            gMonthDay
                    }