B
Bob Rock
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
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