SurveyRoutingXMLMDSC public API
Use one of the following methods to call the component API to persist the MDD information into XML.
Use MDSC
The standard MDSC API persists the MDD information into XML. For example:
MRDSCReg.Components comps = new MRDSCReg.Components();
MRDSCReg.Component com = comps["SurveyRoutingXMLMDSC"];
com.Metadata.Save(mdmdoc, ".\\temp\\t1.xml", null);
mdmdoc.Close();
Use .Net API 1
For example:
SurveyXMLMDSC.MetadataToRoutingXML m = new SurveyXMLMDSC.MetadataToRoutingXML();
m.SaveMetadata(mdmdoc, ".\\temp\\t1.xml", null);
mdmdoc.Close();
Use .Net API 2
For example:
SurveyXMLMDSC.MetadataToRoutingXML d = new SurveyXMLMDSC.MetadataToRoutingXML();
d.Open(mdmdoc, null);
d.SerializeToFile(".\\temp\\way3.xml");
mdmdoc.Close();
See also