N
Nathan
I'm a newbie to serializing/deserializing objects to XML... with this
problem being a huge nightmare.
II have object_A and object_B and write "if object_A is object_B then..."
(object_A and object_B are the same type):
- If I've created object_A and object_B through code (Dim object_A as ...)
the above statement will be evaluated as true
- If object_A and object_B have been deserialized from XML, it will be false
(even though both object_A and object_B are the same type)
Why would this problem be occurring? Even though in both cases both objects
are the same type, it seems there is some problem with from where the object
was created.
I can post my code if this isn't clear
problem being a huge nightmare.
II have object_A and object_B and write "if object_A is object_B then..."
(object_A and object_B are the same type):
- If I've created object_A and object_B through code (Dim object_A as ...)
the above statement will be evaluated as true
- If object_A and object_B have been deserialized from XML, it will be false
(even though both object_A and object_B are the same type)
Why would this problem be occurring? Even though in both cases both objects
are the same type, it seems there is some problem with from where the object
was created.
I can post my code if this isn't clear