Enterra.V8x1C.DOM.DocumentObject.ReadV8XmlAsSysPropertyValue C# (CSharp) Method

ReadV8XmlAsSysPropertyValue() private method

private ReadV8XmlAsSysPropertyValue ( XmlElement valueTag ) : bool
valueTag System.Xml.XmlElement
return bool
        private bool ReadV8XmlAsSysPropertyValue(XmlElement valueTag)
        {
            switch (valueTag.Name)
            {
                case RefPropertyName:
                    return true;
                
                case NumberPropertyName:
                    PutToCache(NumberPropertyName, valueTag.InnerText);
                    return true;

                case DatePropertyName:
                    PutToCache(DatePropertyName, Convert.ToDateTime(valueTag.InnerText));
                    return true;
                
                case DeletionMarkPropertyName:
                case PostedPropertyName:
                    PutToCache(valueTag.Name, Convert.ToBoolean(valueTag.InnerText));
                    return true;
            }

            return false;
        }