public setValue ( eTypes type, object value ) : void | ||
type | eTypes | |
value | object | |
Результат | void |
public cXmlProperty getNodeValue(XmlNode node) { cXmlProperty o = null; o = new cXmlProperty(); o.setValue(eTypes.eText, node.Name); return(o); }
public cXmlProperty getNodeProperty(XmlNode node, string propertyName) { cXmlProperty o = new cXmlProperty(); string txt = ""; if (node.Attributes[propertyName] != null) { txt = node.Attributes[propertyName].Value; } // TODO: remove after testing //txt = txt.Replace("\n", "\\n"); o.setValue(eTypes.eVariant, txt); return(o); }
public cXmlProperty getNodeProperty(XmlNode node, string propertyName) { cXmlProperty o = new cXmlProperty(); string txt = ""; if (node.Attributes[propertyName] != null) { txt = node.Attributes[propertyName].Value; } // TODO: remove after testing //txt = txt.Replace("\n", "\\n"); o.setValue(eTypes.eVariant, txt); return o; }
public cXmlProperty getNodeValue(XmlNode node) { cXmlProperty o = null; o = new cXmlProperty(); o.setValue(eTypes.eText, node.Name); return o; }