Hello,
In AX 2009, I've added a reference (PIESClass) to a .NET class (PIESFile) which has namespace PIES. I'm now using this reference to build an XML document which I'd like to serialize to a file. But I'm not finding the right way to do this. I'm trying this kind of thing:
System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(PIESClass.PIES));
Error: The table does not contain this field.
System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(PIESClass));
Error: Variable PIESClass has not been declared
I've found quite a bit of info online about serializing, but nothing that tells me exactly what "typeof" is looking for. Help, please?
Thanks!
Carolee
*This post is locked for comments
I have the same question (0)