Click or drag to resize

Helper Class

XML handling function (extensions for System.Xml.XmlDocument)
Inheritance Hierarchy
SystemObject
  SOWIData.XMLHelper

Namespace:  SOWIData.XML
Assembly:  SOWIData.XML (in SOWIData.XML.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static class Helper

The Helper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleAddXMLElement(XmlDocument, XmlElement, String)
XML element add to XML document node.
Public methodStatic memberCode exampleAddXMLElementDataClass(XmlDocument, Object, String, Boolean)
Create a XML node with XML elements from DataClass items and value from pDataItem. This added to XML document as XML node by name from parameter pAddToNode.
Public methodStatic memberCode exampleAddXMLElementListDataClass
Create a XML node with list of XML elements from DataClass items and value from parameter list pDataItemList. This added to XML document as XML node by name from parameter pAddToNode.
Public methodStatic memberGetFieldsDataClass
Gives a list of type PropertyInfo from data item class be mapped to database (XML file)
Public methodStatic memberGetNodeNameDataClass
Gives name of type (e.g. data item class) include namespace (full name)
Public methodStatic memberCode exampleGetXMLElementDataClass(XmlDocument, Object)
XML element value store to data item.
Public methodStatic memberCode exampleGetXMLElementDataClass(XmlNode, Object, Boolean)
XML node list of element value store to data item.
Public methodStatic memberCode exampleGetXMLElementListDataClass, DataClassForList
List of XML element store to list of data item.
Public methodStatic memberXMLReadDataClass
Gives data item from XML string
Public methodStatic memberXMLWrite(Object)
Gives XML string from data item
Public methodStatic memberXMLWrite(XmlDocument)
Gives XML string from object XMLDocument
Top
Events
See Also