Exemplo n.º 1
0
        public bool SetAttributeValue(string attrName, string attrValue)
        {
            AttributeElement attr = attributes[attrName];

            if (attr == null)
            {
                return(false);
            }
            attr.AttrValue = attrValue;
            return(true);
        }
Exemplo n.º 2
0
        public bool SetAttribute(string attrName, int attrStatus)
        {
            AttributeElement attr = attributes[attrName];

            if (attr == null)
            {
                return(false);
            }
            attr.AttrStatus = attrStatus;
            return(true);
        }