| IGLib 1.5 The IGLib base library for development of numerical, technical and business applications.

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | List of all members
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:
[legend]
Collaboration diagram for IG.Lib.IToXml:
[legend]

## 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

  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).

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:

- igbase/0unsorted/Vartypes.cs