IGLib
1.7.2
The IGLib base library for development of numerical, technical and business applications.
|
Defines classes whose instances can be created from Xml elements. Conversion is different from that used in serialization. More...
Public Member Functions | |
XmlElement | ToXmlElement (object source, XmlDocument doc, ref XmlElement initial) |
Creates and returns XML representation of an object. More... | |
Additional Inherited Members | |
Properties inherited from IG.Lib.ITypeName | |
string | TypeName [get] |
Gets the standard name of the type. More... | |
string[] | TypeNames [get] |
Defines classes whose instances can be created from Xml elements. Conversion is different from that used in serialization.
XmlElement IG.Lib.IToXml.ToXmlElement | ( | object | source, |
XmlDocument | doc, | ||
ref XmlElement | initial | ||
) |
Creates and returns XML representation of an object.
source | Object to be converted to XML. |
doc | XML document used for eventual creation of an XML element. |
initial | XML element on which contents of source can be stored. Function is not obliged to use it (e.g. it can always return a newly created object - this is left to implementation). |
Implemented in IG.Lib.VarTypeBase.