开发者

How to Read two XML files and return List(of object)?

开发者 https://www.devze.com 2023-03-14 07:03 出处:网络
I have two xml files. I have to read them and return as a List( Of object). Here is my function. Public Function GetData(ByVal name As String, ByVal city As String) As List(Of Object)

I have two xml files. I have to read them and return as a List( Of object).

Here is my function.

 Public Function GetData(ByVal name As String, ByVal city As String) As List(Of Object)
        'Return Nothing
 开发者_开发技巧End Function

Thanks,

NJ


You may change return type into "Object" and then make it type cast to "List (Of Object)" , though it's ugly

0

精彩评论

暂无评论...
验证码 换一张
取 消