Bob Rock
6/4/2004 4:42:00 PM
Hello,
is there a way of controlling the name with which an array of objects of a
custom class is serialized???
public class MyClass
{
......
}
[WebMethod]
public MyClass[] MyMethod()
{
......
......
}
When serializing an array of MyClass objects through a web method I get as
the root node something like <ArrayOfMyClass1 xmlns="...." ....>.
I'd like to be able to define myself the name of the root element. Can this
be done???
Bob Rock