public bool SetAttributeValue(string attrName, string attrValue) { AttributeElement attr = attributes[attrName]; if (attr == null) { return(false); } attr.AttrValue = attrValue; return(true); }
public bool SetAttribute(string attrName, int attrStatus) { AttributeElement attr = attributes[attrName]; if (attr == null) { return(false); } attr.AttrStatus = attrStatus; return(true); }