B
Brains
Hopefully this is something trivial that I'm overlooking, but I've
been scratching my head a while trying to find the solution to no
avail.
I can write a web service that returns a complex object in C# just
fine, annotating the web service class with a line such as:
[System.Xml.Serialization.XmlInclude(typeof(SomeComplexObjectClass))]
Unfortunately, I haven't quite figured out how to accomplish the same
thing in VB.NET. An annotation such as:
<System.Xml.Serialization.XmlInclude(Type.GetType
("SomeComplexObjectClass"))>
irritates the compiler with a message stating "Constant expression is
required."
Does anyone have insight into this one?
Thanks!
--Brian
been scratching my head a while trying to find the solution to no
avail.
I can write a web service that returns a complex object in C# just
fine, annotating the web service class with a line such as:
[System.Xml.Serialization.XmlInclude(typeof(SomeComplexObjectClass))]
Unfortunately, I haven't quite figured out how to accomplish the same
thing in VB.NET. An annotation such as:
<System.Xml.Serialization.XmlInclude(Type.GetType
("SomeComplexObjectClass"))>
irritates the compiler with a message stating "Constant expression is
required."
Does anyone have insight into this one?
Thanks!
--Brian