Serialize a Class that contains another Class with

Good Morning. Well as usual the weatherman got the stuff wrong with us. They predicted all this snow that didn’t materialize. But I should be used to it. Friends of mine tell me up north got hit much harder.

My Twitter experience is … just getting started I guess. I wish we had a way to import our Windows Live network there quickly. But it will be interesting to see how it goes.

Today’s topic is how to serialize a class that contains another class with It’s a little different when generics are involved. Make it a great day!

        <Field1 />
        <Field2 />
        <Field1 />
        <Field2 />

Private m_Group As New List(Of clsGroup)
    Public Property Group() As List(Of clsGroup)
            Return m_Group 
        End Get
        Set(ByVal value As List(Of m_Group))
            m_Group  = value
        End Set
    End Property


Technorati Tags: ,,,,,,,,,,,,

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: