I'm trying to return an ArrayList from a Web Service, but it's baulking
every time I try to access it. I expect it's because the system cannot tell
what object types are being held within the ArrayList, and I also excpect
that there's an Attribute I can use to tell it. However, I have no idea how
to approach this. Any ideas?
--
Ed Courtenay
http://www.edcourtenay.co.uk
[return: XmlArrayItemAttribute(typeof(YourType))]
public ArrayList WebMethodA ([XmlArrayItemAttribute(typeof(YourType))]
ArrayList arrayListOfYourType)
{
// ....
}
- Chu
"Ed Courtenay" <e...@edcourtenay.co.uk> wrote in message
news:#PUvR5B8AHA.1276@tkmsftngp04...