Parameters
- xw
- The instance of the System.Xml.XmlWriter which used to write xml filter definition.
// write filter field as value
xw.WriteString(_field.ToString());
// write _minimum field as xml node with attribute xw.WriteStartElement("Minimum"); xw.WriteAttributeString("Value", _minimum.ToString()); xw.WriteEndElement(); // write _maximum field as xml node with attribute xw.WriteStartElement("Maximum"); xw.WriteAttributeString("Value", _maximum.ToString()); xw.WriteEndElement();