S
STom
Ok, if I have a class:
Public Class MyXClass
Public Property X as Integer
.....
End Class
In my code if I have two instances of this class:
Dim myX1 as new MyXClass
Dim myX2 as MyXClass
myX2 = myX1
Is myX2 a reference to the myX1 object or is it just a copy? In other words
if I modify the property within myX2, will it change myX1.
I believe it is a by reference situation but I could not find anything in
the MSDN documentation to confirm this. I"m sure its there, just don't know
exactly where.
STom
Public Class MyXClass
Public Property X as Integer
.....
End Class
In my code if I have two instances of this class:
Dim myX1 as new MyXClass
Dim myX2 as MyXClass
myX2 = myX1
Is myX2 a reference to the myX1 object or is it just a copy? In other words
if I modify the property within myX2, will it change myX1.
I believe it is a by reference situation but I could not find anything in
the MSDN documentation to confirm this. I"m sure its there, just don't know
exactly where.
STom