static System::Void OSGeo::FDO::Xml::XmlSpatialContextSerializer::XmlSerialize ( OSGeo::FDO::Connections::IConnection connection,
OSGeo::FDO::Xml::XmlSpatialContextWriter writer,
OSGeo::FDO::Xml::XmlSpatialContextFlags flags 
) [static]

writes all Spatial Contexts from the FDO connection to an XML document.

Parameters:
connection Input the FDO connection.
writer Input XML document writer.
flags Input options for controlling the serializing of the Spatial Contexts. If NULL then the default flags are used.