Re: how to keep a reference to an object?
- From: "buu" <aha@xxxxx>
- Date: Thu, 9 Aug 2007 17:30:56 +0200
how do you mean that 'there's no need to make a byref param'?
"Mattias Sjögren" <mattias.dont.want.spam@xxxxxxxx> wrote in message
news:%233lCzQk2HHA.1100@xxxxxxxxxxxxxxxxxxxxxxx
on this way we keep just a reference to a object (32-bit) or we create a
new
one?
You just copy the reference, no new object is created (assuming
object1 is a reference type). There's no need to make v0 a ByRef
parameter.
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
.
- Follow-Ups:
- Re: how to keep a reference to an object?
- From: Mattias Sjögren
- Re: how to keep a reference to an object?
- References:
- how to keep a reference to an object?
- From: buu
- Re: how to keep a reference to an object?
- From: Mattias Sjögren
- how to keep a reference to an object?
- Prev by Date: Re: VS2008 JScript.NET support...?
- Next by Date: Re: How to make the app run?????
- Previous by thread: Re: how to keep a reference to an object?
- Next by thread: Re: how to keep a reference to an object?
- Index(es):
Relevant Pages
|