"I Don't Like Spam" <no@spam.com> schrieb:
Dim A as new object
Dim B as object
B = A
Do Bunch of stuff
Check if B still = A
This is basically pointer comparision in C++ days. how do I check that A
and B still point to the same object?
While the '=' operator is used to assign references, the 'Is' operator is
used to test for object identity (reference equality):
\\\
' Check for reference-equality.
If A Is B Then...
' Check for reference-inequality.
If Not A Is B Then...
If A IsNot B Then... ' VB 2005 only!
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>