|
-
Apr 5th, 2009, 02:11 PM
#1
Thread Starter
Hyperactive Member
Re: Struggling with Serializing an Array of Objects. Need Help
 Originally Posted by .paul.
to deserialize:
vb Code:
ItemsOrders = New List(Of Item)
Dim serializer As New Xml.Serialization.XmlSerializer(GetType(List(Of Item)))
Dim SR As New IO.StreamReader("test.xml")
ItemsOrders = DirectCast(serializer.Deserialize(SR), Global.System.Collections.Generic.List(Of Item))
SR.Close()
WIth that code, to then call items from the XML..
I use ItemsOrder(0) or how?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|