IGLib  1.7.2
The IGLib base library for development of numerical, technical and business applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Lib.IToXml Interface Reference

Defines classes whose instances can be created from Xml elements. Conversion is different from that used in serialization. More...

+ Inheritance diagram for IG.Lib.IToXml:
+ Collaboration diagram for IG.Lib.IToXml:

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]
 

Detailed Description

Defines classes whose instances can be created from Xml elements. Conversion is different from that used in serialization.

Member Function Documentation

XmlElement IG.Lib.IToXml.ToXmlElement ( object  source,
XmlDocument  doc,
ref XmlElement  initial 
)

Creates and returns XML representation of an object.

Parameters
sourceObject to be converted to XML.
docXML document used for eventual creation of an XML element.
initialXML 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).
Returns
XML element, an XML representation of the object.

Implemented in IG.Lib.VarTypeBase.


The documentation for this interface was generated from the following file: