Liquid XML Data Binder 2020
Liquid XML Data Binder (C++, Java, VB6) / Reference / C# and VB .Net (Deprecated - use Liquid XML Objects) / Reference / XmlDateTime / Liquid XML Runtime for .Net - SetGYearMonth - XmlDateTime
In This Topic
    Liquid XML Runtime for .Net - SetGYearMonth - 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
    void SetGYearMonth(short year, byte month)
      Property Description  
        Argument year year sets the Year part of the date. (Valid Range = -9999 to 9999)  
        Argument month month sets the Month part of the date. Jan = 1, Feb = 2 etc. (Valid Range = 1 to 12)  
        Description Populates this CDateTime as type gYearMonth.  
        Remarks Throws: LtInvalidValueException thrown on parsing invalid values.
    Throws: LtInvalidStateException thrown if this DateTimes current type is not either zeroYear or gMonth.