Re: how do I use ref types in managed c++

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



To avoid confusion, you might not want to refer to passing by ref as "ref
types". The choice of keywords by Microsoft is unfortunate, but passing by
ref vs by value and reference types vs value types are two totally
independent issues.
--
http://www.tangiblesoftwaresolutions.com
C++ to C#
C++ to VB
C++ to Java
VB & C# to Java
Java to VB & C#
Instant C#: VB to C#
Instant VB: C# to VB
Instant C++: VB, C#, or Java to C++


"alexl" wrote:

ok found out it's with the % sign.

.



Relevant Pages

  • Re: Why are get/set properties useful?
    ... passing reference objects to functions, ... ref PricingConditionTable, ... add/remove accessors around them, which is, after all, pretty much the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Passing by ref or by value
    ... I was thinking that by ref might have meant the value of the pointer might ... >> Suppose I was passing data rather then receiving it, ... > data returned by the SendMessage() method. ... > If you wanted to pass a struct to a method solely to supply needed ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Why are get/set properties useful?
    ... passing reference objects to functions, ... ref PricingConditionTable, ... or so more public fields, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Another spinoza challenge
    ... and passing the address of a variable by ... > effect pass by reference by passing variables by address. ... void inc(int ref self) ...
    (comp.lang.c)
  • Re: ref Class and a value by reference
    ... and I recall now that the use of % for passing ... of reference types by ref. ... Instant VB: C# to VB converter ... public ref class MyClass ...
    (microsoft.public.dotnet.languages.csharp)